projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67aba0f
)
configfile: Free a string buffer returned by cf_util_get_string().
author
Sebastian Harl
<sh@tokkee.org>
Wed, 28 Nov 2012 08:44:59 +0000
(09:44 +0100)
committer
Sebastian Harl
<sh@tokkee.org>
Wed, 28 Nov 2012 08:44:59 +0000
(09:44 +0100)
src/configfile.c
patch
|
blob
|
history
diff --git
a/src/configfile.c
b/src/configfile.c
index
d6aa72d
..
064c9a4
100644
(file)
--- a/
src/configfile.c
+++ b/
src/configfile.c
@@
-583,6
+583,8
@@
static int cf_include_all (oconfig_item_t *root, int depth)
}
new = cf_read_generic (old->values[0].value.string, pattern, depth + 1);
+ sfree (pattern);
+
if (new == NULL)
continue;