summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-Target_cc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-12 14:11:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-12 14:11:48 +0200
commitbdcb19554ef258df89b9c3ab2109b2acadd16866 (patch)
treee098fcc51e62513dde2ca53a266b9ed29dabb88d /package/nmap/patches/patch-Target_cc
parentc1064830dab447f98f712cb09f408acb6f077d3d (diff)
update to latest stable version
Diffstat (limited to 'package/nmap/patches/patch-Target_cc')
-rw-r--r--package/nmap/patches/patch-Target_cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/nmap/patches/patch-Target_cc b/package/nmap/patches/patch-Target_cc
new file mode 100644
index 000000000..4358b4509
--- /dev/null
+++ b/package/nmap/patches/patch-Target_cc
@@ -0,0 +1,15 @@
+--- nmap-6.25.orig/Target.cc 2012-08-14 18:36:25.000000000 +0200
++++ nmap-6.25/Target.cc 2013-07-12 13:59:19.000000000 +0200
+@@ -162,10 +162,12 @@ void Target::Recycle() {
+
+ Target::~Target() {
+ FreeInternal();
++#ifndef NOLUA
+ while (!scriptResults.empty()) {
+ scriptResults.front().clear();
+ scriptResults.pop_front();
+ }
++#endif
+ }
+
+ void Target::FreeInternal() {