[interchange] * Fix memory leak where new session would retain previous version of

Mike Heins interchange-cvs at icdevgroup.org
Sun Apr 3 18:49:42 UTC 2016


commit 6adefa30ca98f0e59a1311ee780faed5a27e2a2d
Author: Mike Heins <mike at perusion.com>
Date:   Sun Apr 3 14:49:13 2016 -0400

    * Fix memory leak where new session would retain previous version of
      $::Control.

 lib/Vend/Server.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/Server.pm b/lib/Vend/Server.pm
index e31c8f9..52855b3 100644
--- a/lib/Vend/Server.pm
+++ b/lib/Vend/Server.pm
@@ -1240,6 +1240,7 @@ sub reset_vars {
 	package CGI;
 	reset 'A-Z';
 	reset 'a-z';
+	undef $::Control;
 	undef %Vend::Table::DBI::DBI_connect_cache;
 	undef %Vend::Table::DBI::DBI_connect_bad;
 	undef %Vend::Table::DBI::DBI_connect_count;



More information about the interchange-cvs mailing list