From 017fb92bd811ce1083504eafda4e2080d9520a31 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 30 Sep 2010 14:07:18 +0200 Subject: Imported Upstream version 5.7.0 --- outchannel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'outchannel.c') diff --git a/outchannel.c b/outchannel.c index 74c1821..b9b4a6b 100644 --- a/outchannel.c +++ b/outchannel.c @@ -38,6 +38,7 @@ #include "stringbuf.h" #include "outchannel.h" #include "dirty.h" +#include "debug.h" static struct outchannel *ochRoot = NULL; /* the root of the outchannel list */ static struct outchannel *ochLast = NULL; /* points to the last element of the outchannel list */ @@ -212,7 +213,7 @@ struct outchannel *ochAddLine(char* pName, uchar** ppRestOfConfLine) return NULL; pOch->iLenName = strlen(pName); - pOch->pszName = (char*) malloc(sizeof(char) * (pOch->iLenName + 1)); + pOch->pszName = (char*) MALLOC(sizeof(char) * (pOch->iLenName + 1)); if(pOch->pszName == NULL) { dbgprintf("ochAddLine could not alloc memory for outchannel name!"); pOch->iLenName = 0; -- cgit v1.2.3