summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.h b/pp.h
index e17c2ebea0..9f80c2944d 100644
--- a/pp.h
+++ b/pp.h
@@ -181,7 +181,7 @@
#define RvDEEPCP(rv) do { SV* ref=SvRV(rv); \
if (SvREFCNT(ref)>1) { \
SvREFCNT_dec(ref); \
- SvRV(rv)=newSVsv(ref); \
+ SvRV(rv)=AMG_CALLun(rv,copy); \
} } while (0)
#else