[asterisk-dev] Re: [asterisk-commits] russell: branch 1.2 r38288 -
/branches/1.2/channels/chan_sip.c
Kevin P. Fleming
kpfleming at digium.com
Wed Jul 26 19:01:53 MST 2006
----- asterisk-commits at lists.digium.com wrote:
> +#ifdef __AST_DEBUG_MALLOC
> +static void FREE(void *ptr)
> +{
> + free(ptr);
> +}
> +#else
> +#define FREE free
> +#endif
> +
Should we just move this into a common place, now that it's being repeated in quite a few places?
Alternatively, since we have ast_malloc/ast_calloc, should we have ast_free (not in 1.2, of course)?
--
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.
More information about the asterisk-dev
mailing list