diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2011-11-01 04:56:06 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-11-01 04:56:06 +0100 |
commit | a5cd79fec4db7be33eb707d1d09f506ad6125cf7 (patch) | |
tree | f1b339a79666b74a9257c59b15b8daeac302b8a4 /policy.c | |
parent | Avoid memory leak (diff) | |
download | mdadm-a5cd79fec4db7be33eb707d1d09f506ad6125cf7.tar.xz mdadm-a5cd79fec4db7be33eb707d1d09f506ad6125cf7.zip |
policy_add(): Add missing va_end()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'policy.c')
-rw-r--r-- | policy.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -510,6 +510,7 @@ void policy_add(char *type, ...) } pr->next = config_rules; config_rules = pr; + va_end(ap); } void policy_free(void) |