blob: ac67deb521dfe327df6478eae4648f1e3fb9d9b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/src/extensions/qconfig.c b/src/extensions/qconfig.c
index 745a28b..87bfd67 100644
--- a/src/extensions/qconfig.c
+++ b/src/extensions/qconfig.c
@@ -399,6 +399,7 @@ static char *_parsestr(qlisttbl_t *tbl, const char *str) {
}
if ((newstr = tbl->getstr(tbl, varstr, true)) == NULL) {
s = e; // not found
+free(varstr);
continue;
}
break;
|