summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gconfig.c b/gconfig.c
index b7107aa..38a33ff 100644
--- a/gconfig.c
+++ b/gconfig.c
@@ -541,6 +541,7 @@ int getgenericconfig(struct gconffile **cf, char *block, ...) {
errparam:
debug(DBG_ERR, "getgenericconfig: internal parameter error");
errexit:
+ va_end(ap);
free(opt);
free(val);
return 0;