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 c1add5b..6a5d26b 100644
--- a/gconfig.c
+++ b/gconfig.c
@@ -536,6 +536,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;