MemCheck_off(); CRYPTO_w_lock(CRYPTO_LOCK_MALLOC);
MemCheck_off();
void CRYPTO_dbg_realloc(void *addr1, void *addr2, int num,	const char *file, int line, int before_p)	{	MEM m,*mp;#ifdef LEVITTE_DEBUG	fprintf(stderr, "LEVITTE_DEBUG: --> CRYPTO_dbg_malloc(addr1 = %p, addr2 = %p, num = %d, file = \"%s\", line = %d, before_p = %d)\n",		addr1, addr2, num, file, line, before_p);#endif	switch(before_p)		{	case 0:		break;	case 1:		if (addr2 == NULL)			break;		if (addr1 == NULL)			{			CRYPTO_dbg_malloc(addr2, num, file, line, 128 | before_p);			break;			}		if (is_MemCheck_on())			{			MemCheck_off();			CRYPTO_w_lock(CRYPTO_LOCK_MALLOC);			m.addr=addr1;			mp=(MEM *)lh_delete(mh,(char *)&m);			if (mp != NULL)				{#ifdef LEVITTE_DEBUG				fprintf(stderr, "LEVITTE_DEBUG: [%5d] * 0x%p (%d) -> 0x%p (%d)\n",					mp->order,					mp->addr, mp->num,					addr2, num);#endif				mp->addr=addr2;				mp->num=num;				lh_insert(mh,(char *)mp);				}			CRYPTO_w_unlock(CRYPTO_LOCK_MALLOC);			MemCheck_on();			}		break;		}	return;	}