[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121108201135.GL19977@thunk.org>
Date: Thu, 8 Nov 2012 15:11:35 -0500
From: Theodore Ts'o <tytso@....edu>
To: Eugene Shatokhin <eugene.shatokhin@...alab.ru>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: fix possible memory leak in ext4_xattr_set_acl()
On Mon, Oct 08, 2012 at 03:11:12PM +0400, Eugene Shatokhin wrote:
> In ext4_xattr_set_acl(), if ext4_journal_start() returns an error,
> posix_acl_release() will not be called for 'acl' which may result
> in a memory leak.
>
> This patch fixes that.
>
> Signed-off-by: Eugene Shatokhin <eugene.shatokhin@...alab.ru>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists