summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-09-15 10:02:18 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-15 23:13:12 +0000
commit5a837c8f09fbdb836b1e6e369e0917ef08034ee5 (patch)
tree48382d192636e2d75ac5ec8c2bbf93cf65e766f7
parent93ef0b44bb74f7dfd9d0934062a04232ca2b2476 (diff)
downloadperl-5a837c8f09fbdb836b1e6e369e0917ef08034ee5.tar.gz
[patch] plug PL_beginav_save leak
Message-ID: <Pine.LNX.4.21.0109151659060.6089-100000@mako.covalent.net> p4raw-id: //depot/perl@12036
-rw-r--r--perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index f35a93803f..9843134b53 100644
--- a/perl.c
+++ b/perl.c
@@ -564,10 +564,12 @@ perl_destruct(pTHXx)
/* startup and shutdown function lists */
SvREFCNT_dec(PL_beginav);
+ SvREFCNT_dec(PL_beginav_save);
SvREFCNT_dec(PL_endav);
SvREFCNT_dec(PL_checkav);
SvREFCNT_dec(PL_initav);
PL_beginav = Nullav;
+ PL_beginav_save = Nullav;
PL_endav = Nullav;
PL_checkav = Nullav;
PL_initav = Nullav;