diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-07-07 17:07:20 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-07-07 17:07:20 +0200 |
commit | e308e59002539a989e87c72bdb462b9652e304b3 (patch) | |
tree | 33e90dff0d8578d8ea6d03cfd3e539bf31544e20 /example/ndpiReader.c | |
parent | 1c60c22893e465da75b825ce4bab80ca018e9104 (diff) |
fixed memory leak in ndpi_cluster_bins / binUnitTest
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 39e36f248..a3e35bd4f 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -3163,6 +3163,8 @@ static void binUnitTest() { for(i=0; i<num_bins; i++) ndpi_free_bin(&bins[i]); + + free(bins); } /* *********************************************** */ |