summaryrefslogtreecommitdiff
path: root/vxs.inc
diff options
context:
space:
mode:
authorJohn Peacock <jpeacock@cpan.org>2013-12-25 14:19:19 -0500
committerFather Chrysostomos <sprout@cpan.org>2014-01-04 05:10:04 -0800
commit95a23f5d4555e7aada6ee78c54dec1abd1521aec (patch)
treed51f669cddba48f992a0e9dd03412300bc9e740a /vxs.inc
parent4141ef59170e80715499432a2f4b9bfca704247d (diff)
downloadperl-95a23f5d4555e7aada6ee78c54dec1abd1521aec.tar.gz
Grab latest changes from CPAN 0.9905
Diffstat (limited to 'vxs.inc')
-rw-r--r--vxs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vxs.inc b/vxs.inc
index 78b1fef476..cb894f24b1 100644
--- a/vxs.inc
+++ b/vxs.inc
@@ -418,7 +418,7 @@ VXS(version_qv)
}
if ( !SvVOK(ver) ) { /* not already a v-string */
rv = sv_newmortal();
- sv_setsv(rv,ver); /* make a duplicate */
+ SvSetSV_nosteal(rv,ver); /* make a duplicate */
UPG_VERSION(rv, TRUE);
} else {
rv = sv_2mortal(NEW_VERSION(ver));