From 1fe09876906e5c02d44f66bddcb676b572676eef Mon Sep 17 00:00:00 2001 From: Ilya Zakharevich Date: Mon, 20 Jul 1998 17:20:21 -0400 Subject: disable malloced_size() feedback with -DLEAKTEST Message-Id: <199807210120.VAA15031@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_75] -DLEAKTEST broken p4raw-id: //depot/perl@1603 --- av.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'av.c') diff --git a/av.c b/av.c index 2f9c617317..b5c9bc20aa 100644 --- a/av.c +++ b/av.c @@ -92,7 +92,7 @@ av_extend(AV *av, I32 key) U32 bytes; #endif -#if defined(MYMALLOC) && !defined(PURIFY) +#if defined(MYMALLOC) && !defined(PURIFY) && !defined(LEAKTEST) newmax = malloced_size((void*)AvALLOC(av))/sizeof(SV*) - 1; if (key <= newmax) -- cgit v1.2.1