Close/unload NSE with --release-mem to resolve false-positive memory leaks

This commit is contained in:
dmiller 2026-04-06 21:33:45 +00:00
parent 209da5174d
commit a24082eee4

View file

@ -1838,6 +1838,7 @@ void nmap_free_mem() {
AllProbes::service_scan_free();
traceroute_hop_cache_clear();
nsock_set_default_engine(NULL);
close_nse();
}
int nmap_main(int argc, char *argv[]) {