From: Florian Forster Date: Wed, 17 Jun 2015 13:20:41 +0000 (+0200) Subject: src/utils_cache.c: Remove incorrect free. X-Git-Tag: collectd-5.5.1~105^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f0fbde90f3316fe2729f1f6f758a25b4b5cb7297;p=collectd.git src/utils_cache.c: Remove incorrect free. "ce" is not updated / used in this loop, so it would be theoretically possible for "ce" to be freed twice. --- diff --git a/src/utils_cache.c b/src/utils_cache.c index fa6e6603..e77f9942 100644 --- 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; }