diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2005-12-30 12:21:05 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2005-12-30 12:21:05 +0000 |
commit | 016af4f17de049a3804a577bd072125010d0388d (patch) | |
tree | 5b966a8b7c241d79810f9572315cb652ca68c08a /sv.c | |
parent | 0cea005841294e1c066737aa1ee9f5a7235bc7bc (diff) | |
download | perl-016af4f17de049a3804a577bd072125010d0388d.tar.gz |
fix errors in new MY_CTX code
p4raw-id: //depot/perl@26535
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10483,7 +10483,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_exitlist = (PerlExitListEntry*)NULL; PL_my_cxt_size = proto_perl->Imy_cxt_size; - if (PL_my_cxt_size) { + if (PL_my_cxt_size != -1) { Newx(PL_my_cxt_list, PL_my_cxt_size, void *); Copy(proto_perl->Imy_cxt_list, PL_my_cxt_list, PL_my_cxt_size, void *); } |