Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: fix memory leak in ext4_xattr_set_acl()'s error path
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. Reviewed-by: Lukas Czerner <[email protected]> Signed-off-by: Eugene Shatokhin <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]> Cc: [email protected]
- Loading branch information