diff options
author | Luca Deri <deri@ntop.org> | 2023-10-30 22:58:17 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2023-10-30 22:58:17 +0100 |
commit | f49cedc1e8dea672740ee3fafd7672d66b7e712b (patch) | |
tree | bfa6d3403d270e01318619d0c22303d6f31355ea /src | |
parent | 5e9f10f82028d2585e8eb10f5287192a5e968084 (diff) |
Added missing freeaddrinfo() call
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 9ed7a8f27..39443bec7 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2796,6 +2796,8 @@ static int ndpi_add_host_ip_subprotocol(struct ndpi_detection_module_struct *ndp break; } } + + freeaddrinfo(result); } if(!value_ready) { @@ -2820,6 +2822,8 @@ static int ndpi_add_host_ip_subprotocol(struct ndpi_detection_module_struct *ndp break; } } + + freeaddrinfo(result); } if(!value_ready) { |