diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-30 10:47:14 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-30 10:47:14 +0000 |
commit | 9f12ca0ac86a7d29bdc6518a39b69cd03af41406 (patch) | |
tree | 56fd4b908ec9fc354c1f9abca154279025be4d0b | |
parent | 207572e21775bb0755a3b71dd45267614c9e04a1 (diff) | |
download | rsyslog-9f12ca0ac86a7d29bdc6518a39b69cd03af41406.tar.gz rsyslog-9f12ca0ac86a7d29bdc6518a39b69cd03af41406.tar.bz2 rsyslog-9f12ca0ac86a7d29bdc6518a39b69cd03af41406.zip |
fixed a mem leak in OMSRdestruct - freeing the object itself was forgotten
- thanks to varmojfekoj for the patch
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | objomsr.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ Version 1.17.6 (rgerhards), 2007-07-3? - fixed bug in OMSRcreate() - always returned SR_RET_OK - fixed a bug that caused ommysql to always complain about missing templates +- fixed a mem leak in OMSRdestruct - freeing the object itself was + forgotten - thanks to varmojfekoj for the patch --------------------------------------------------------------------------- Version 1.17.5 (rgerhards), 2007-07-30 - continued to work on modularization @@ -50,6 +50,7 @@ rsRetVal OMSRdestruct(omodStringRequest_t *pThis) } if(pThis->piTplOpts != NULL) free(pThis->piTplOpts); + free(pThis); return RS_RET_OK; } |