lkml.org 
[lkml]   [2009]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] selinux: fix memory leak in sel_make_bools
On Fri, 14 Aug 2009, Xiaotian Feng wrote:

> In sel_make_bools, kernel allocates memory for bool_pending_names[i]
> with security_get_bools. So if we just free bool_pending_names, those
> memories for bool_pending_names[i] will be leaked.

Thanks, applied and pushed to Linus.

--
James Morris
<jmorris@namei.org>


\
 
 \ /
  Last update: 2009-08-14 08:09    [W:0.072 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site