diff --git a/src/statsd.c b/src/statsd.c
index 7fe9eb3cb577ae8f246824cf1bb9971372cbac63..8047b1a68911e69fda55b0073a90102d997c195e 100644 (file)
--- a/src/statsd.c
+++ b/src/statsd.c
#include <pthread.h>
#include <sys/types.h>
-#include <sys/socket.h>
#include <netdb.h>
#include <poll.h>
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;