summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-03 17:54:38 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-03 17:54:38 +0000
commitad25789c15269a04312e0efede81842547aa8212 (patch)
tree2aaac52db8554401f8e520d7ff235d9bb6f8aa98 /hv.h
parent84bafc024a74c819ac3d2b4406253dbe983e6502 (diff)
downloadperl-ad25789c15269a04312e0efede81842547aa8212.tar.gz
Missed three sv_2mortal(newSVpvn(...))s in the headers.
p4raw-id: //depot/perl@32820
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv.h b/hv.h
index 3be32e675e..5f3d0a1b9f 100644
--- a/hv.h
+++ b/hv.h
@@ -327,8 +327,8 @@ C<SV*>.
#define HeSVKEY_force(he) (HeKEY(he) ? \
((HeKLEN(he) == HEf_SVKEY) ? \
HeKEY_sv(he) : \
- sv_2mortal(newSVpvn(HeKEY(he), \
- HeKLEN(he)))) : \
+ newSVpvn_flags(HeKEY(he), \
+ HeKLEN(he), SVs_TEMP)) : \
&PL_sv_undef)
#define HeSVKEY_set(he,sv) ((HeKLEN(he) = HEf_SVKEY), (HeKEY_sv(he) = sv))