lkml.org 
[lkml]   [2010]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] BTRFS: Don't leak memory in btrfs_get_acl()
On Sat, 25 Dec 2010, Mariusz Kozlowski wrote:

> On Fri, Dec 24, 2010 at 11:45:21PM +0100, Jesper Juhl wrote:
> > Hi,
> >
> > Currrently we leak memory in btrfs_get_acl::btrfs_get_acl() if
> > posix_acl_from_xattr() fails. With this patch we do not.
>
> I sent similar patch some time ago but no reply from Chris so far.
>
> http://marc.info/?l=linux-kernel&m=129247984126414
>
I was not aware of that. The patch looks fine (identical to mine), so I
think Chris should just merge yours.

Feel free to add:

Reviewed-by: Jesper Juhl <jj@chaosbits.net>


--
Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.



\
 
 \ /
  Last update: 2010-12-25 18:55    [W:0.327 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site