Fix memory leak when MALLOC_DEBUG is enabled.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 10 Nov 2008 18:04:30 +0000 (18:04 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 10 Nov 2008 18:04:30 +0000 (18:04 +0000)
(closes issue #13864)
 Reported by: eliel
 Patches:
       readline.c.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155763 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/editline/readline.c

index 3a62df6..4729fa9 100644 (file)
@@ -36,6 +36,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "asterisk.h"
 #include "config.h"
 #if !defined(lint) && !defined(SCCSID)
 __RCSID("$NetBSD: readline.c,v 1.21 2002/03/18 16:20:36 christos Exp $");