summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2010-09-01 23:14:51 +1000
committerTony Cook <tony@develop-help.com>2010-09-01 23:14:51 +1000
commit776df701ccf6ff508b27293b35d3e65ccf922531 (patch)
tree54eb6272f5f4325d2c3d6ee3bc079d1c5f912d8a /perl.c
parentc895a371d39dea7f20c053ad6dd1ef63feec4bcb (diff)
downloadperl-776df701ccf6ff508b27293b35d3e65ccf922531.tar.gz
PL_my_cxt_list is only available with PERL_IMPLICIT_CONTEXT
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 7e135ca0b0..e0b9fa62ff 100644
--- a/perl.c
+++ b/perl.c
@@ -1071,9 +1071,11 @@ perl_destruct(pTHXx)
(long)cxstack_ix + 1);
}
+#ifdef PERL_IMPLICIT_CONTEXT
/* the entries in this list are allocated via SV PVX's, so get freed
* in sv_clean_all */
Safefree(PL_my_cxt_list);
+#endif
/* Now absolutely destruct everything, somehow or other, loops or no. */