X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fstatsd.c;h=610391b1018bdfa04775d6f619bf78daa3a41ca5;hp=7fe9eb3cb577ae8f246824cf1bb9971372cbac63;hb=fc6f1e3d33d646391adb5cedc62e7b3904c15003;hpb=817e080279469498c446bff54dbc7e0633cb238c diff --git a/src/statsd.c b/src/statsd.c index 7fe9eb3c..610391b1 100644 --- a/src/statsd.c +++ b/src/statsd.c @@ -953,7 +953,7 @@ static int statsd_shutdown (void) /* {{{ */ while (c_avl_pick (metrics_tree, &key, &value) == 0) { sfree (key); - sfree (value); + statsd_metric_free (value); } c_avl_destroy (metrics_tree); metrics_tree = NULL;