projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9998154
)
fix for a double free bug
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 20 Jan 2008 21:22:28 +0000
(22:22 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 20 Jan 2008 21:22:28 +0000
(22:22 +0100)
parse.c
patch
|
blob
|
history
diff --git
a/parse.c
b/parse.c
index c8f090c41e5bc943c9a9dd8afbd33e906b849a58..5158028bb68bdbf93455bbb78a3f319d7f845b17 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);