Commit 011523ec authored by Linus Nordberg's avatar Linus Nordberg

Cleanup varargs in error case too.

coverity: 1449517
parent 9179e9fa
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment