Fix a bug introduced by change 29079
authorNicholas Clark <nick@ccl4.org>
Sun, 22 Oct 2006 22:12:57 +0000 (22:12 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 22 Oct 2006 22:12:57 +0000 (22:12 +0000)
p4raw-id: //depot/perl@29084

sv.c

diff --git a/sv.c b/sv.c
index 6e97bfa..0f33280 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -10455,7 +10455,7 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param)
        case SAVEt_COP_ARYBASE:                 /* call CopARYBASE_set */
            ptr = POPPTR(ss,ix);
            TOPPTR(nss,ix) = any_dup(ptr, proto_perl);
-           POPINT(ss,ix);
+           i = POPINT(ss,ix);
            TOPINT(nss,ix) = i;
            break;
        case SAVEt_IV:                          /* IV reference */