Do not call NSE if compiling without Lua support. Close #3434

This commit is contained in:
nnposter 2026-08-12 19:29:05 +00:00
parent 0ffa21e7bc
commit 4c36cf12f2

View file

@ -1858,7 +1858,9 @@ void nmap_free_mem() {
AllProbes::service_scan_free();
traceroute_hop_cache_clear();
nsock_set_default_engine(NULL);
#ifndef NOLUA
close_nse();
#endif
}
int nmap_main(int argc, char *argv[]) {