patch-Target_cc 382 B

123456789101112131415
  1. --- nmap-6.25.orig/Target.cc 2012-08-14 18:36:25.000000000 +0200
  2. +++ nmap-6.25/Target.cc 2013-07-12 13:59:19.000000000 +0200
  3. @@ -162,10 +162,12 @@ void Target::Recycle() {
  4. Target::~Target() {
  5. FreeInternal();
  6. +#ifndef NOLUA
  7. while (!scriptResults.empty()) {
  8. scriptResults.front().clear();
  9. scriptResults.pop_front();
  10. }
  11. +#endif
  12. }
  13. void Target::FreeInternal() {