From cb950730917a823302cf44ee0323b3f9c5ad6f1c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 12 Sep 2012 15:59:20 +0200 Subject: new ruleengine: fix memory leak --- action.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'action.c') diff --git a/action.c b/action.c index bc96ea9d..a87f8839 100644 --- a/action.c +++ b/action.c @@ -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; } -- cgit v1.2.3