head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.09.03.07.16.25; author adam; state Exp; branches; next ; commitid XpuhCmPe8wpG49UG; desc @@ 1.1 log @nmap: fix build without Lua @ text @$NetBSD$ Fix build without Lua. --- nmap.cc.orig 2026-09-03 07:11:21.781042421 +0000 +++ nmap.cc @@@@ -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[]) { @