summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2003-03-10 18:34:39 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-11 06:55:29 +0000
commit1c4916e5d90f0028c91aaa6bda8d297844c9610e (patch)
tree3e2f9cec373ed9fa5818d5ffd4dc64dd037fb539
parent8cfd79877cc07a3e6d12a2a552e0e29b4734a54c (diff)
downloadperl-1c4916e5d90f0028c91aaa6bda8d297844c9610e.tar.gz
clear PL_exitlist in perl_destruct
From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3E6D837F.7000506@mac.com> p4raw-id: //depot/perl@18910
-rw-r--r--perl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 52cf4a7938..b8598f5c11 100644
--- a/perl.c
+++ b/perl.c
@@ -386,6 +386,9 @@ perl_destruct(pTHXx)
Safefree(PL_exitlist);
+ PL_exitlist = NULL;
+ PL_exitlistlen = 0;
+
if (destruct_level == 0){
DEBUG_P(debprofdump());