Fix crash in codec_lpc10 when MALLOC_DEBUG is enabled.
authorCorey Farrell <git@cfware.com>
Fri, 8 May 2015 15:30:24 +0000 (11:30 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 8 May 2015 17:29:50 +0000 (13:29 -0400)
commitf93b3a22d6217e28059a92f9d24fce055f8b3f3c
treed077c0eb5c3e2c16c74c0da47f533f938e751668
parentcf637f2510d5e69855d62a4c3306094abfcbb68c
Fix crash in codec_lpc10 when MALLOC_DEBUG is enabled.

This switches codecs/lpc10/lpcini.c back to including "asterisk.h"
instead of <stdlib.h>.  lpcini.c allocates memory that is freed by
codec_lpc10.c, so it is important to use MALLOC_DEBUG allocator.
Added #define WRAP_LIBC_MALLOC to the start of the source to prevent
runtime symbol link error's.

Change-Id: I74f63fd09fdeb673ee7753122c3bb4722ab6e1ac
codecs/lpc10/lpcini.c