From: Svetlana Shmidt Date: Wed, 16 Sep 2020 09:35:31 +0000 (+0000) Subject: modify cache_free to destroy distributions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f87584051826c19bbc7c72686f7746b4b359a504;p=thirdparty%2Fcollectd.git modify cache_free to destroy distributions --- diff --git a/src/daemon/utils_cache.c b/src/daemon/utils_cache.c index bfa6d133b..89354125b 100644 --- a/src/daemon/utils_cache.c +++ b/src/daemon/utils_cache.c @@ -123,7 +123,9 @@ static void cache_free(cache_entry_t *ce) { sfree(ce->history); meta_data_destroy(ce->meta); ce->meta = NULL; - + typed_value_destroy(ce->values_raw); + typed_value_destroy(ce->start_value); + distribution_destroy(ce->distribution_increase); sfree(ce); } /* void cache_free */