projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad3ee18
)
fix double free bug
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 23 Jan 2008 01:48:46 +0000
(
02:48
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 23 Jan 2008 01:48:46 +0000
(
02:48
+0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index c92e60bb276d65048cf97af6b2c72bdfb38ab074..54003c18043a18d74857f32dc60bee1d8762e08e 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;
}