summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-Target_cc
diff options
context:
space:
mode:
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() {