savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
[p5sagit/p5-mst-13.2.git] / universal.c
index 525ae44..829952a 100644 (file)
@@ -602,7 +602,7 @@ XS(XS_version_qv)
            }
            else
            {
-               version = savepv(SvPV_nolen(ver));
+               version = savesvpv(ver);
            }
            (void)scan_version(version,vs,TRUE);
            Safefree(version);