mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
smack: make smack_parse_opts_str() clean up on failure
fixes e.g. a btrfs leak... Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
17f3b556a3
commit
6466f3d193
@ -735,6 +735,7 @@ out_err:
|
||||
kfree(fshat);
|
||||
kfree(fsroot);
|
||||
kfree(fstransmute);
|
||||
security_free_mnt_opts(opts);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user