diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-12 15:59:20 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-12 15:59:20 +0200 |
commit | cb950730917a823302cf44ee0323b3f9c5ad6f1c (patch) | |
tree | a42440f9ea6b58961efa609998765ce16f30e310 /action.c | |
parent | 74abe7ba6a0a151a437abdb4e8374a240e5ea60a (diff) | |
download | rsyslog-cb950730917a823302cf44ee0323b3f9c5ad6f1c.tar.gz rsyslog-cb950730917a823302cf44ee0323b3f9c5ad6f1c.tar.xz rsyslog-cb950730917a823302cf44ee0323b3f9c5ad6f1c.zip |
new ruleengine: fix memory leak
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1725,6 +1725,9 @@ doQueueEnqObjDirectBatch(action_t *pAction, batch_t *pBatch) countStatsBatchEnq(pAction, pBatch); iRet = qqueueEnqObjDirectBatch(pAction->pQueue, pBatch); } + + free(pBatch->active); + pBatch->active = activeSave; RETiRet; } |