summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-29 03:05:30 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-29 03:05:30 +0300
commit917600af3a54043ce2347b5cc3b63145d61b3e3a (patch)
treecfa62ee7753a1a076d69a7ca372ffdaa9dc56a79
parent3fb5cc583e0bb90d764066d41beaba9987a3604f (diff)
properly cleanup statsd-stress
-rw-r--r--profile/statsd-stress.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/profile/statsd-stress.c b/profile/statsd-stress.c
index 6db2cd84b9..1350f25f4b 100644
--- a/profile/statsd-stress.c
+++ b/profile/statsd-stress.c
@@ -90,6 +90,8 @@ static void *spam_thread(void *__data) {
}
}
+ free(packets);
+ free(lengths);
close(s);
return NULL;
}