mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-03 20:47:12 +00:00
Btrfs: fix a memory leak in btrfs_init_acl
In btrfs_init_acl() cloned acl is not released Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
d1ea6a6145
commit
f858153c36
@ -269,6 +269,7 @@ int btrfs_init_acl(struct btrfs_trans_handle *trans,
|
||||
ACL_TYPE_ACCESS);
|
||||
}
|
||||
}
|
||||
posix_acl_release(clone);
|
||||
}
|
||||
failed:
|
||||
posix_acl_release(acl);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user