summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-12-31 21:36:05 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-12-31 21:36:05 +0000
commit4c901e72a9a1fb951bea802158d49869bfdb0dbe (patch)
tree391fa25193c939c350ae7d983d81b91b71ad5e70 /sv.c
parent0cf35e6a9dd43c567c5c58f094ef1c96461c1230 (diff)
downloadperl-4c901e72a9a1fb951bea802158d49869bfdb0dbe.tar.gz
tidy index arrangements in new MY_CXT code
p4raw-id: //depot/perl@26554
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 5372215d4d..b707a73bfd 100644
--- a/sv.c
+++ b/sv.c
@@ -10480,7 +10480,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 != -1) {
+ if (PL_my_cxt_size) {
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 *);
}