summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-18 16:17:40 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-18 16:17:40 +0100
commitb69da427ebfeb2bbee2a4e4c086835c0397ed69e (patch)
tree55fe21af4fe9cda5d249b0b96284c43f0b83b239
parentc0743225e859d2abed24cf8dbb9f9125e49aeb6e (diff)
downloadrsyslog-b69da427ebfeb2bbee2a4e4c086835c0397ed69e.tar.gz
rsyslog-b69da427ebfeb2bbee2a4e4c086835c0397ed69e.tar.bz2
rsyslog-b69da427ebfeb2bbee2a4e4c086835c0397ed69e.zip
fix memory leak (regression from batch optimization work - unreleased)
-rw-r--r--runtime/batch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/batch.h b/runtime/batch.h
index 03122bd0..2ec07670 100644
--- a/runtime/batch.h
+++ b/runtime/batch.h
@@ -156,6 +156,7 @@ batchFree(batch_t *pBatch) {
}
}
free(pBatch->pElem);
+ free(pBatch->eltState);
}