summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-09-11 16:10:35 +0200
committerDylan William Hardison <dylan@hardison.net>2017-02-26 02:46:14 +0100
commitd3a58e043a804feacc1d401dd4e1be02c56fc93d (patch)
tree147a0fd604c7d0b76e0af06a735998f80f52c2ef /Bugzilla.pm
parent84ebf678974927ed94561b34c2f8a89f217d08a4 (diff)
downloadbugzilla-d3a58e043a804feacc1d401dd4e1be02c56fc93d.tar.gz
bugzilla-d3a58e043a804feacc1d401dd4e1be02c56fc93d.tar.xz
Bug 1301951 - Fix Bugzilla::Bug memory leaks
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index ada2cc326..6ad129412 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -686,6 +686,7 @@ sub _cleanup {
my $smtp = $cache->{smtp};
$smtp->disconnect if $smtp;
clear_request_cache();
+ Bugzilla::Bug->CLEANUP();
# These are both set by CGI.pm but need to be undone so that
# Apache can actually shut down its children if it needs to.