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.
[perl5.git] / 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);