Commit 3fc25197 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

core: config: Fix leak on error

CID #1062584
parent 2f4d144b
...@@ -306,6 +306,7 @@ error: ...@@ -306,6 +306,7 @@ error:
} }
free(vals); free(vals);
free(txts); free(txts);
module_list_free (list);
*values = *texts = NULL; *values = *texts = NULL;
return -1; return -1;
} }
......
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