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:
740ed93
)
fix memory leak reported in https://dev.openwrt.org/ticket/4236
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 25 Nov 2008 16:29:08 +0000
(17:29 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 25 Nov 2008 16:29:08 +0000
(17:29 +0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index
06ba34d
..
1abe8ff
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-528,6
+528,7
@@
static char **uci_list_config_files(struct uci_context *ctx)
buf += strlen(buf) + 1;
}
free(dir);
buf += strlen(buf) + 1;
}
free(dir);
+ globfree(&globbuf);
return configs;
}
return configs;
}