mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Close/unload NSE with --release-mem to resolve false-positive memory leaks
This commit is contained in:
parent
209da5174d
commit
a24082eee4
1 changed files with 1 additions and 0 deletions
1
nmap.cc
1
nmap.cc
|
|
@ -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[]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue