diff options
Diffstat (limited to 'runtime/strmsrv.c')
-rw-r--r-- | runtime/strmsrv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/strmsrv.c b/runtime/strmsrv.c index 98002be6..0de18e7f 100644 --- a/runtime/strmsrv.c +++ b/runtime/strmsrv.c @@ -73,6 +73,7 @@ #include "unicode-helper.h" MODULE_TYPE_LIB +MODULE_TYPE_NOKEEP /* defines */ #define STRMSESS_MAX_DEFAULT 200 /* default for nbr of strm sessions if no number is given */ @@ -163,7 +164,7 @@ addNewLstnPort(strmsrv_t *pThis, uchar *pszPort) ISOBJ_TYPE_assert(pThis, strmsrv); /* create entry */ - CHKmalloc(pEntry = malloc(sizeof(strmLstnPortList_t))); + CHKmalloc(pEntry = MALLOC(sizeof(strmLstnPortList_t))); pEntry->pszPort = pszPort; pEntry->pSrv = pThis; CHKmalloc(pEntry->pszInputName = ustrdup(pThis->pszInputName)); |