Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/iperf_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -3826,6 +3826,10 @@ iperf_reset_test(struct iperf_test *test)
free(test->extra_data);
test->extra_data = NULL;
}
if (test->json_output_string) {
free(test->json_output_string);
test->json_output_string = NULL;
}

/* Free output line buffers, if any (on the server only) */
struct iperf_textline *t;
Expand Down