From: Paul Sadauskas Date: Wed, 8 Jul 2009 08:49:23 +0000 (+0200) Subject: src/utils_cache.c: Add a missing `continue'. X-Git-Tag: collectd-4.6.4~5 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=526320a0389a54a3629038fe6b34da8c6d4eec0e src/utils_cache.c: Add a missing `continue'. tokkee on IRC & I think we found a bug with utils_cache.c. The uc_check_timeout function is missing a continue after the "uninteresting" service check, that causes a key to be null. This probably caused an assertion failure in cache_compare as reported by Mariusz. --- diff --git a/src/utils_cache.c b/src/utils_cache.c index 3cfe3a12..2f70ffe8 100644 --- a/src/utils_cache.c +++ b/src/utils_cache.c @@ -305,6 +305,7 @@ int uc_check_timeout (void) sfree (keys[i]); sfree (key); cache_free (ce); + continue; } /* If we get here, the value is ``interesting''. Query the record from the