projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for a double free bug
[project/uci.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index
c8f090c
..
5158028
100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-77,6
+77,7
@@
static void uci_parse_cleanup(struct uci_context *ctx)
if (!pctx)
return;
+ ctx->pctx = NULL;
if (pctx->cfg) {
uci_list_del(&pctx->cfg->list);
uci_drop_file(pctx->cfg);