[asterisk-dev] astmm

Bhrugu Mehta bhrugumehta at gmail.com
Tue Jan 19 03:18:49 CST 2010


hi, all
I can not understand below in __ast_alloc_region() in astmm.c file.
   hash = HASH(ptr);
   reg->fence = FENCE_MAGIC;
   fence = (ptr + reg->len);

if possible can anybody explain me.
sorry for that.

Regards,

On Tue, Jan 12, 2010 at 12:12 PM, Tilghman Lesher <tlesher at digium.com> wrote:
> On Tuesday 12 January 2010 00:16:14 Bhrugu Mehta wrote:
>> hi all ,
>> can anybody explain astmm.h file and it's use
>
> It provides headers for MALLOC_DEBUG, a define used for tracking down
> memory leaks.  It should never be #included directly; always use the
> MALLOC_DEBUG definition in menuselect to activate those functions.
>
> --
> Tilghman Lesher
> Digium, Inc. | Senior Software Developer
> twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Bhrugu Mehta
Sr. S/W Engineer (D&D)
Telephony Team (Asterisk,zaptel etc.)



More information about the asterisk-dev mailing list