projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd324a1
)
src/utils_cache.c: Remove incorrect free.
author
Florian Forster
<octo@collectd.org>
Wed, 17 Jun 2015 13:20:41 +0000
(15:20 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 17 Jun 2015 13:20:44 +0000
(15:20 +0200)
"ce" is not updated / used in this loop, so it would be theoretically
possible for "ce" to be freed twice.
src/utils_cache.c
patch
|
blob
|
history
diff --git
a/src/utils_cache.c
b/src/utils_cache.c
index
fa6e660
..
e77f994
100644
(file)
--- a/
src/utils_cache.c
+++ b/
src/utils_cache.c
@@
-315,7
+315,6
@@
int uc_check_timeout (void)
if (status != 0)
{
ERROR ("uc_check_timeout: parse_identifier_vl (\"%s\") failed.", keys[i]);
- cache_free (ce);
continue;
}