From c4d765b68047176fb83ebc5a7462a68a5d051008 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Mon, 24 Oct 2016 10:47:13 +0200 Subject: tools: Fix memory leaks in oping --- src/tools/oping/oping.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools/oping/oping.c') diff --git a/src/tools/oping/oping.c b/src/tools/oping/oping.c index b476b33a..801f79b5 100644 --- a/src/tools/oping/oping.c +++ b/src/tools/oping/oping.c @@ -54,6 +54,7 @@ struct c { double rtt_m2; flow_set_t * flows; + fqueue_t * fq; /* needs locking */ struct timespec * times; @@ -66,6 +67,7 @@ struct c { struct s { struct timespec times[OPING_MAX_FLOWS]; flow_set_t * flows; + fqueue_t * fq; pthread_mutex_t lock; pthread_t cleaner_pt; -- cgit v1.2.3