mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
smack: make smack_parse_opts_str() clean up on failure
fixes e.g. a btrfs leak... Reviewed-by: David Howells <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
17f3b556a3
commit
6466f3d193
1 changed files with 1 additions and 0 deletions
|
|
@ -735,6 +735,7 @@ out_err:
|
|||
kfree(fshat);
|
||||
kfree(fsroot);
|
||||
kfree(fstransmute);
|
||||
security_free_mnt_opts(opts);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue