summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-21 18:00:57 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-21 18:00:57 +0000
commitdc8220bfca2d71384f17f046f7e05856915092e1 (patch)
treeef1391ddaec13ed3548114867303b34df0a7df6c /sv.c
parente678f8d36a88cb1c3542ecd26158b5482e6f3af3 (diff)
downloadperl-dc8220bfca2d71384f17f046f7e05856915092e1.tar.gz
PL_body_arenas should be set to NULL when the interpreter is cleared.
p4raw-id: //depot/perl@27262
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 11f79dba33..44defbe295 100644
--- a/sv.c
+++ b/sv.c
@@ -642,6 +642,7 @@ Perl_sv_free_arenas(pTHX)
#else
S_free_arena(aTHX_ (void**) PL_body_arenas);
#endif
+ PL_body_arenas = 0;
for (i=0; i<PERL_ARENA_ROOTS_SIZE; i++)
PL_body_roots[i] = 0;