This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove two NEWSV()s in the non-ithread dump code that got missed.
authorNicholas Clark <nick@ccl4.org>
Thu, 9 Mar 2006 22:50:23 +0000 (22:50 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 9 Mar 2006 22:50:23 +0000 (22:50 +0000)
p4raw-id: //depot/perl@27455

dump.c

diff --git a/dump.c b/dump.c
index ad64190..650c1ab 100644 (file)
--- 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);