projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
network plugin: fd_num is unsigned
[collectd.git]
/
src
/
zone.c
diff --git
a/src/zone.c
b/src/zone.c
index
52dc553
..
0e9fee3
100644
(file)
--- a/
src/zone.c
+++ b/
src/zone.c
@@
-121,6
+121,7
@@
zone_find_stats(c_avl_tree_t *tree, zoneid_t zoneid)
}
if (!(key = malloc(sizeof(*key)))) {
WARNING("zone plugin: no memory");
+ free(ret);
return(NULL);
}
*key = zoneid;