diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-19 14:19:30 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-19 14:19:30 +0200 |
commit | b79d67dcf905ecd00dff0cd5bea7a742a0640874 (patch) | |
tree | 9234ad2ca017db6d53ac9225d7258e44fcfe2e7b | |
parent | 14122d7dc505c27b3dcc7b55250961ac5391cd70 (diff) | |
download | rsyslog-b79d67dcf905ecd00dff0cd5bea7a742a0640874.tar.gz rsyslog-b79d67dcf905ecd00dff0cd5bea7a742a0640874.tar.bz2 rsyslog-b79d67dcf905ecd00dff0cd5bea7a742a0640874.zip |
fixed memleak on queue full
-rw-r--r-- | tcpsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |