summaryrefslogtreecommitdiff
path: root/codecs/lpc10
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-10-15 16:41:54 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-10-15 16:41:54 +0000
commita8775172aa50d880d353111c96ae3c8549d2b7cc (patch)
tree74c1656585bf6a3d9e8e0a80be64f57db0cfd4b6 /codecs/lpc10
parent1c5e6fc18b4a96ef991a850d719db0d61b741df0 (diff)
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
Diffstat (limited to 'codecs/lpc10')
-rw-r--r--codecs/lpc10/lpcini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/lpc10/lpcini.c b/codecs/lpc10/lpcini.c
index ebe229a5c..42c233195 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 <stdlib.h>
+#include "asterisk.h"
#include "f2c.h"
#ifdef P_R_O_T_O_T_Y_P_E_S