Revert "UBUNTU: SAUCE: apparmor: fix memleak of the profile hash"
This reverts commit 685044db97.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
committed by
Tim Gardner
parent
7bf3e4b11f
commit
e8e8633aec
@@ -633,7 +633,6 @@ void aa_free_profile(struct aa_profile *profile)
|
||||
aa_put_dfa(profile->xmatch);
|
||||
aa_put_dfa(profile->policy.dfa);
|
||||
|
||||
kzfree(profile->hash);
|
||||
kzfree(profile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user