diff options
author | Thomas Jarosch <thomas.jarosch@intra2net.com> | 2011-08-26 07:33:37 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-09-07 18:10:33 +1000 |
commit | 42de2ac27d632236909f88bd5309161a32379327 (patch) | |
tree | 41faede688a49a509f9dff46dd13050d8bf5dd68 /config.c | |
parent | b990032d395ec092868dfd15275c969d7c2cab1d (diff) |
Fix small memory leak
Found by cppcheck
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -707,6 +707,8 @@ void autoline(char *line) for (i = 0; i < super_cnt; i++) if (!seen[i]) policy_add(rule_policy, pol_auto, dflt, pol_metadata, superlist[i]->name, NULL); + + free(seen); } int loaded = 0; |