diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-10-24 09:09:40 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-10-24 09:09:40 +0000 |
commit | b05290df28e380ddc789fd5e7eada95e9adef389 (patch) | |
tree | 016e36503f658e209f76e2b6bfc8d37bb23fc04c /src/tools/oping/oping.c | |
parent | 1c06b9ff80a2bf7ee6042534fee6098f7e452b59 (diff) | |
parent | c4d765b68047176fb83ebc5a7462a68a5d051008 (diff) | |
download | ouroboros-b05290df28e380ddc789fd5e7eada95e9adef389.tar.gz ouroboros-b05290df28e380ddc789fd5e7eada95e9adef389.zip |
Merged in dstaesse/ouroboros/be-oping (pull request #277)
tools: Fix memory leaks in oping
Diffstat (limited to 'src/tools/oping/oping.c')
-rw-r--r-- | src/tools/oping/oping.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |