projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
write_kafka: ensure key is properly hashed to select partition
[collectd.git]
/
src
/
liboconfig
/
oconfig.c
diff --git
a/src/liboconfig/oconfig.c
b/src/liboconfig/oconfig.c
index
b4b8244
..
cfe9c5a
100644
(file)
--- a/
src/liboconfig/oconfig.c
+++ b/
src/liboconfig/oconfig.c
@@
-176,7
+176,7
@@
oconfig_item_t *oconfig_clone (const oconfig_item_t *ci_orig)
for (i = 0; i < ci_copy->children_num; i++)
{
oconfig_item_t *child;
-
+
child = oconfig_clone (ci_orig->children + i);
if (child == NULL)
{
@@
-221,7
+221,6
@@
void oconfig_free (oconfig_item_t *ci)
{
oconfig_free_all (ci);
free (ci);
- ci = NULL;
}
/*