summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-01-08 17:30:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-08 17:30:52 +0000
commitaf3eb38fbc0ab18bd280933f789a67d68b6c5e4a (patch)
treea7a5e0ee340cf8003f49394aa3da169cd4baa67b /scope.c
parente4090ce886275aecfe2478d139a6e0a7781d824e (diff)
downloadperl-af3eb38fbc0ab18bd280933f789a67d68b6c5e4a.tar.gz
save_delete() Safefree() doesn't (anymore?) work with shared
strings, one test failure in op/misc and almost all of lib/b. (Outcomments #8369.) p4raw-id: //depot/perl@8369
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 8a320173ec..d4ea391d72 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);
+ /* Safefree(ptr); */ /* Does not work with shared strings. */
break;
case SAVEt_DESTRUCTOR:
ptr = SSPOPPTR;