2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

* fix a few more memory leaks

* undocumented symbol table dumping short options weren't actually
   accepted by the parser.
This commit is contained in:
Steve Beattie
2009-07-24 13:24:53 +00:00
parent 1b069745b3
commit f9c5756b4d
3 changed files with 8 additions and 1 deletions

View File

@@ -728,6 +728,10 @@ void free_policy(struct codomain *cod)
aare_delete_ruleset(cod->dfarules);
if (cod->dfa)
free(cod->dfa);
if (cod->name)
free(cod->name);
if (cod->namespace)
free(cod->namespace);
free(cod);
}