Added missing freeaddrinfo() call

This commit is contained in:
Luca Deri
2023-10-30 22:58:17 +01:00
parent 5e9f10f820
commit f49cedc1e8
+4
View File
@@ -2796,6 +2796,8 @@ static int ndpi_add_host_ip_subprotocol(struct ndpi_detection_module_struct *ndp
break; break;
} }
} }
freeaddrinfo(result);
} }
if(!value_ready) { if(!value_ready) {
@@ -2820,6 +2822,8 @@ static int ndpi_add_host_ip_subprotocol(struct ndpi_detection_module_struct *ndp
break; break;
} }
} }
freeaddrinfo(result);
} }
if(!value_ready) { if(!value_ready) {