diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2002-09-23 20:33:12 +0200 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-09-26 08:16:43 +0000 |
commit | 7bab3ede7bf671f54f0d8f3d55d015d9c9882812 (patch) | |
tree | c955efd9da330d34eed618bb2ab9ac7e8a9e6034 /av.c | |
parent | e6604a4dbe27f47e1c7f869847acedb8b382cb8f (diff) | |
download | perl-7bab3ede7bf671f54f0d8f3d55d015d9c9882812.tar.gz |
LEAKTEST is dead, RIP
Subject: Re: [perl #17197] SIGSEGV in perl 5.8.0 multithread build with -DLEAKTEST
From: "H.Merijn Brand" <h.m.brand@hccnet.nl>
Message-Id: <20020923182824.C7B6.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@17920
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,7 +105,7 @@ Perl_av_extend(pTHX_ AV *av, I32 key) IV itmp; #endif -#if defined(MYMALLOC) && !defined(LEAKTEST) +#ifdef MYMALLOC newmax = malloced_size((void*)AvALLOC(av))/sizeof(SV*) - 1; if (key <= newmax) @@ -134,7 +134,7 @@ Perl_av_extend(pTHX_ AV *av, I32 key) Safefree(AvALLOC(av)); AvALLOC(av) = ary; #endif -#if defined(MYMALLOC) && !defined(LEAKTEST) +#ifdef MYMALLOC resized: #endif ary = AvALLOC(av) + AvMAX(av) + 1; |