diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-09 21:07:48 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-09 21:07:48 +0000 |
commit | 337d28f50abb1285c55ea2649c039a2a0083b442 (patch) | |
tree | e13e343c39a05c9e0c72162ea018a7e913ab9173 /sv.c | |
parent | 0f0eef279b3be952546c621e078d7f4da86c02a1 (diff) | |
download | perl-337d28f50abb1285c55ea2649c039a2a0083b442.tar.gz |
Fix pointer error in change 27741, spotted by John E. Malmberg.
p4raw-id: //depot/perl@27752
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10395,8 +10395,8 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param) break; case SAVEt_HV: /* hash reference */ case SAVEt_AV: /* array reference */ - av = (AV*)POPPTR(ss,ix); - TOPPTR(nss,ix) = sv_dup_inc(av, param); + sv = POPPTR(ss,ix); + TOPPTR(nss,ix) = sv_dup_inc(sv, param); gv = (GV*)POPPTR(ss,ix); TOPPTR(nss,ix) = gv_dup(gv, param); break; |