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

Cleanup varargs in error case too.

coverity: 1449517
parent 9179e9fa
...@@ -541,6 +541,7 @@ int getgenericconfig(struct gconffile **cf, char *block, ...) { ...@@ -541,6 +541,7 @@ int getgenericconfig(struct gconffile **cf, char *block, ...) {
errparam: errparam:
debug(DBG_ERR, "getgenericconfig: internal parameter error"); debug(DBG_ERR, "getgenericconfig: internal parameter error");
errexit: errexit:
free(opt); free(opt);
free(val); free(val);
return 0; 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