projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix double free bug
[project/uci.git]
/
file.c
diff --git
a/file.c
b/file.c
index
c92e60b
..
54003c1
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-75,6
+75,7
@@
static void uci_file_cleanup(struct uci_context *ctx)
if (ctx->buf) {
free(ctx->buf);
+ ctx->buf = NULL;
ctx->bufsz = 0;
}