From 0e8720fa6488111276a41c0ff3fcc649e8fcbdf6 Mon Sep 17 00:00:00 2001 From: sethdelliott Date: Mon, 2 Aug 2010 23:15:27 +0000 Subject: [PATCH] Small memory leak fixes in iperf_free_test. --- src/iperf_api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iperf_api.c b/src/iperf_api.c index 44385ca..1c8a973 100644 --- a/src/iperf_api.c +++ b/src/iperf_api.c @@ -997,6 +997,8 @@ iperf_free_test(struct iperf_test * test) iperf_free_stream(sp); } + free(test->server_hostname); + free(test->bind_address); free(test->settings); free_timer(test->timer); free_timer(test->stats_timer);