summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorSimon Cozens <simon@netthink.co.uk>2001-01-06 11:48:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-08 14:47:10 +0000
commite4090ce886275aecfe2478d139a6e0a7781d824e (patch)
tree3f6dafd0de3e070d08d798acd500c32ade3e675d /scope.c
parent09bb3e277be365399d3c135a30bd01910fe25c56 (diff)
downloadperl-e4090ce886275aecfe2478d139a6e0a7781d824e.tar.gz
(Outcommented by #8369.)
Subject: Re: Perl BugID 20001205.022 ---- save_delete Message-ID: <20010106114840.A13227@deep-dark-truthful-mirror.perlhacker.org> The save_delete() does need the Safefree. p4raw-id: //depot/perl@8368
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 27b522f9b0..8a320173ec 100644
--- a/scope.c
+++ b/scope.c
@@ -852,6 +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);
break;
case SAVEt_DESTRUCTOR:
ptr = SSPOPPTR;