summaryrefslogtreecommitdiff
path: root/vxs.inc
diff options
context:
space:
mode:
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));