summaryrefslogtreecommitdiffstats
path: root/runtime/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-20 12:18:20 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-20 12:18:20 +0200
commitbf8125f4e96a011ec28cc58b225bb815f72fc53c (patch)
tree2431ecfe08b01c7ef1756cc8e2b5be9fd4a65c60 /runtime/queue.c
parent4ec7b9d9ec12d91dde3d030bdaf87cfdd6b5d81d (diff)
downloadrsyslog-bf8125f4e96a011ec28cc58b225bb815f72fc53c.tar.gz
rsyslog-bf8125f4e96a011ec28cc58b225bb815f72fc53c.tar.xz
rsyslog-bf8125f4e96a011ec28cc58b225bb815f72fc53c.zip
bugfix: minor static memory leak while reading configuration
This did NOT leak based on message volume. Also, did some cleanup during the commit.
Diffstat (limited to 'runtime/queue.c')
-rw-r--r--runtime/queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/queue.c b/runtime/queue.c
index 78859e8d..7590af18 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -1956,7 +1956,6 @@ ChkStopWrkrReg(qqueue_t *pThis)
{
DEFiRet;
if(pThis->bEnqOnly) {
-dbgprintf("XXX: terminate_NOW queue:Reg worker: enqOnly! queue size %d\n", getPhysicalQueueSize(pThis));
iRet = RS_RET_TERMINATE_NOW;
} else if(pThis->pqParent != NULL) {
iRet = RS_RET_TERMINATE_WHEN_IDLE;