summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-02 17:46:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 17:46:31 +0000
commit60dadb69307520d7fe23dc28e2cb662960184d36 (patch)
tree6db9e39abef9b1206ab64193fc019e21e1c76dae /op.h
parent248ff010a9f14ea43c69a11c0242d8e9e015163d (diff)
downloadperl-60dadb69307520d7fe23dc28e2cb662960184d36.tar.gz
Retract #11055, didn't help much (2736 bytes vs 2725 bytes leaked).
The real fix must be more involved. The line of code all the leaky call stacks seem to go through is op.c:2949, the PmopSTASH_set() line of Perl_newPMOP(). p4raw-id: //depot/perl@11099
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index 2d4786d6ae..497a997d19 100644
--- a/op.h
+++ b/op.h
@@ -277,7 +277,7 @@ struct pmop {
#ifdef USE_ITHREADS
# define PmopSTASHPV(o) ((o)->op_pmstashpv)
-# define PmopSTASHPV_set(o,pv) (Safefree((o)->op_pmstashpv), (o)->op_pmstashpv = ((pv) ? savepv(pv) : Nullch))
+# define PmopSTASHPV_set(o,pv) ((o)->op_pmstashpv = ((pv) ? savepv(pv) : Nullch))
# define PmopSTASH(o) (PmopSTASHPV(o) \
? gv_stashpv(PmopSTASHPV(o),GV_ADD) : Nullhv)
# define PmopSTASH_set(o,hv) PmopSTASHPV_set(o, (hv) ? HvNAME(hv) : Nullch)