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 /objomsr.c | |
parent | 207572e21775bb0755a3b71dd45267614c9e04a1 (diff) | |
download | rsyslog-9f12ca0ac86a7d29bdc6518a39b69cd03af41406.tar.gz rsyslog-9f12ca0ac86a7d29bdc6518a39b69cd03af41406.tar.xz rsyslog-9f12ca0ac86a7d29bdc6518a39b69cd03af41406.zip |
fixed a mem leak in OMSRdestruct - freeing the object itself was forgotten
- thanks to varmojfekoj for the patch
Diffstat (limited to 'objomsr.c')
-rw-r--r-- | objomsr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ rsRetVal OMSRdestruct(omodStringRequest_t *pThis) } if(pThis->piTplOpts != NULL) free(pThis->piTplOpts); + free(pThis); return RS_RET_OK; } |