properly cleanup statsd-stress
Costa Tsaousis (ktsaou) committed
Apr 29, 2017 at 03:05 UTC
917600af3a54043ce2347b5cc3b63145d61b3e3a
1 file changed
+2
profile/statsd-stress.c
+2
@@ -90,6 +90,8 @@ static void *spam_thread(void *__data) {
90
}
91
}
92
93
+ free(packets);
94
+ free(lengths);
95
close(s);
96
return NULL;
97
}