summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-09 22:50:23 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-09 22:50:23 +0000
commitef2570c41ffc304e9725d0b3f9f07f3c6913340f (patch)
tree4e0f0ffc592a1640c1e9710a50e6358f05014a1a /dump.c
parent8577f58c4d821e2549079abb2972f3a0ae866984 (diff)
downloadperl-ef2570c41ffc304e9725d0b3f9f07f3c6913340f.tar.gz
Remove two NEWSV()s in the non-ithread dump code that got missed.
p4raw-id: //depot/perl@27455
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index ad641900ae..650c1ab53a 100644
--- a/dump.c
+++ b/dump.c
@@ -2536,8 +2536,8 @@ Perl_do_op_xmldump(pTHX_ I32 level, PerlIO *file, const OP *o)
S_xmldump_attr(aTHX_ level, file, "padix=\"%" IVdf "\"", (IV)cPADOPo->op_padix);
#else
if (cSVOPo->op_sv) {
- SV *tmpsv1 = NEWSV(0,0);
- SV *tmpsv2 = NEWSV(0,0);
+ SV *tmpsv1 = newSV(0);
+ SV *tmpsv2 = newSV(0);
char *s;
STRLEN len;
SvUTF8_on(tmpsv1);