diff options
author | Alessandro Forghieri <alf@orion.it> | 2002-06-15 14:56:35 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-15 15:34:51 +0000 |
commit | 47c8db80932508b6333745f2c283d5a98bf9cccb (patch) | |
tree | ce134a143946a43350cecd54b77cfe7c162b9ce2 | |
parent | 1fb76a4637fd4800180784d4acf2abcdd008365e (diff) | |
download | perl-47c8db80932508b6333745f2c283d5a98bf9cccb.tar.gz |
Possible cure for
Subject: Re: Thread bug in 5.8RC1 Win32
Message-ID: <20020615125635.A25110@alpha.orion.it>
p4raw-id: //depot/perl@17250
-rw-r--r-- | perl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -442,7 +442,8 @@ perl_destruct(pTHXx) /* Destroy the main CV and syntax tree */ if (PL_main_root) { - PL_curpad = AvARRAY(PL_comppad); + /* If running under -d may not have PL_comppad. */ + PL_curpad = PL_comppad ? AvARRAY(PL_comppad) : NULL; op_free(PL_main_root); PL_main_root = Nullop; } |