AppArmor: compatibility patch for v5 network controll
[linux-flexiantxendom0-natty.git] / security / apparmor / policy.c
index 4f0eade..4d5ce13 100644 (file)
@@ -745,6 +745,7 @@ static void free_profile(struct aa_profile *profile)
 
        aa_free_file_rules(&profile->file);
        aa_free_cap_rules(&profile->caps);
+       aa_free_net_rules(&profile->net);
        aa_free_rlimit_rules(&profile->rlimits);
 
        aa_free_sid(profile->sid);