From a8775172aa50d880d353111c96ae3c8549d2b7cc Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 15 Oct 2008 16:41:54 +0000 Subject: [PATCH] When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library malloc() with an ast_free (which, of course, doesn't match up with known allocated memory, so the free fails). (closes issue #13702) Reported by: eliel Patches: codec_lpc10_lpcini.c uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149637 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/lpc10/lpcini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecs/lpc10/lpcini.c b/codecs/lpc10/lpcini.c index ebe229a5cf..42c2331958 100644 --- a/codecs/lpc10/lpcini.c +++ b/codecs/lpc10/lpcini.c @@ -34,7 +34,7 @@ Some OSS fixes and a few lpc changes to make it actually work -lf2c -lm (in that order) */ -#include +#include "asterisk.h" #include "f2c.h" #ifdef P_R_O_T_O_T_Y_P_E_S