diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-11 08:45:49 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-11 08:45:49 +0200 |
commit | 1486175e6b0e1f33a59ec80585f7c33fb97b49c3 (patch) | |
tree | b44d8e89614d5c527f99ebd935a659134f2170f1 /queue.c | |
parent | b46151989f97aaa3bc520c56f3c87fe2bc068958 (diff) | |
download | rsyslog-1486175e6b0e1f33a59ec80585f7c33fb97b49c3.tar.gz rsyslog-1486175e6b0e1f33a59ec80585f7c33fb97b49c3.tar.bz2 rsyslog-1486175e6b0e1f33a59ec80585f7c33fb97b49c3.zip |
bugfix & doc improvement
bugfix for mem leak in disk-based queue modes (backport from devel)
plus an update to the list of distributions where rsyslog packages are
available.
Diffstat (limited to 'queue.c')
-rw-r--r-- | queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -845,6 +845,8 @@ static rsRetVal qAddDisk(queue_t *pThis, void* pUsr) pThis->tVars.disk.sizeOnDisk += nWriteCount; + /* The following line is a backport from 3.19.10 - fixes mem leak */ + objDestruct(pUsr); dbgoprint((obj_t*) pThis, "write wrote %lld octets to disk, queue disk size now %lld octets\n", nWriteCount, pThis->tVars.disk.sizeOnDisk); |