projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/utils_cache.c: Fix a serious memory leak.
[collectd.git]
/
src
/
utils_cache.c
diff --git
a/src/utils_cache.c
b/src/utils_cache.c
index
9f7e3b6
..
6d96516
100644
(file)
--- a/
src/utils_cache.c
+++ b/
src/utils_cache.c
@@
-299,6
+299,7
@@
int uc_check_timeout (void)
ERROR ("uc_check_timeout: c_avl_remove (%s) failed.", keys[i]);
}
sfree (keys[i]);
+ sfree (key);
cache_free (ce);
}
else if (status == 1) /* persist */