summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-01-09 21:06:08 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-09 21:06:08 +0000
commit578130200aea30eb8391e4d2a8f7bc5df24d3c3a (patch)
tree95025d62ea0b8c2c0dd10fa09432a26f73df3be6 /scope.c
parent24cc8ef6d2c387830d9f88fe302fe306816d5017 (diff)
downloadperl-578130200aea30eb8391e4d2a8f7bc5df24d3c3a.tar.gz
save_delete(), err, SAVEDELETE() fixes from Charles Lane.
Should finish up the bug id 20001205.022. p4raw-id: //depot/perl@8382
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index d4ea391d72..527593542c 100644
--- a/scope.c
+++ b/scope.c
@@ -852,7 +852,7 @@ Perl_leave_scope(pTHX_ I32 base)
ptr = SSPOPPTR;
(void)hv_delete(hv, (char*)ptr, (U32)SSPOPINT, G_DISCARD);
SvREFCNT_dec(hv);
- /* Safefree(ptr); */ /* Does not work with shared strings. */
+ Safefree(ptr);
break;
case SAVEt_DESTRUCTOR:
ptr = SSPOPPTR;