projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c5e6fc
)
When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Wed, 15 Oct 2008 16:41:54 +0000
(16:41 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Wed, 15 Oct 2008 16:41:54 +0000
(16:41 +0000)
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
patch
|
blob
|
history
diff --git
a/codecs/lpc10/lpcini.c
b/codecs/lpc10/lpcini.c
index
ebe229a
..
42c2331
100644
(file)
--- 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