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

Mike Heins <[email protected]> Sun, 03 Apr 2016 18:49:42 +0000
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 6adefa30ca98f0e59a1311ee780faed5a27e2a2d
Author: Mike Heins <[email protected]>
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;