[Asterisk-bsd] Asterisk mem leak

Stuart Henderson stu at spacehopper.org
Tue Jun 19 14:04:29 CDT 2007


On 2007/06/19 18:39, Dinesh Nair wrote:
> On Tue, 19 Jun 2007 10:02:24 +0100, Stuart Henderson wrote:
> 
> > (or 'show memory allocations' and 'show memory summary' in 1.2,
> > you don't even say what Asterisk version you run, what OS you run,
> > ...)
> 
> a grep for MALLOC_DEBUG in the 1.2 codebase shows nothing.

It's in the Makefile:

<sthen at zephyr:18162>$ pwd
/usr/ports/telephony/asterisk/w-asterisk-1.2.19/asterisk-1.2.19
<sthen at zephyr:18163>$ fgrep -R MALLOC_DEBUG *
ChangeLog:        with MALLOC_DEBUG enabled. This was not reported in the bug
ChangeLog:      * channels/chan_sip.c: fix a crash when MALLOC_DEBUG is enabled and
Makefile:MALLOC_DEBUG = #-include $(PWD)/include/asterisk/astmm.h
Makefile:ASTCFLAGS+= $(MALLOC_DEBUG)




More information about the Asterisk-BSD mailing list