From b79d67dcf905ecd00dff0cd5bea7a742a0640874 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 19 May 2011 14:19:30 +0200 Subject: fixed memleak on queue full --- tcpsrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpsrv.c b/tcpsrv.c index 5de805b2..0581828e 100644 --- a/tcpsrv.c +++ b/tcpsrv.c @@ -547,7 +547,7 @@ Run(tcpsrv_t *pThis) case RS_RET_OK: /* valid data received, process it! */ localRet = tcps_sess.DataRcvd(pThis->pSessions[iTCPSess], buf, iRcvd); - if(localRet != RS_RET_OK) { + if(localRet != RS_RET_OK && localRet != RS_RET_QUEUE_FULL) { /* in this case, something went awfully wrong. * We are instructed to terminate the session. */ -- cgit v1.2.3