mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
bugfix: (small) memory leak in omfile's outchannel code
Thanks to Koral Ilgun for reporting this issue.
This commit is contained in:
parent
98a0407323
commit
5e3d81f71b
@ -16,6 +16,8 @@ Version 8.7.0 [v8-stable] 2015-01-13
|
||||
- bugfix: emit correct error message on config-file-not-found
|
||||
closes https://github.com/rsyslog/rsyslog/issues/173
|
||||
- bugfix: impstats emitted invalid JSON format (if JSON was selected)
|
||||
- bugfix: (small) memory leak in omfile's outchannel code
|
||||
Thanks to Koral Ilgun for reporting this issue.
|
||||
------------------------------------------------------------------------------
|
||||
Version 8.6.0 [v8-stable] 2014-12-02
|
||||
NOTE: This version also incorporates all changes and enhancements made for
|
||||
|
||||
@ -810,6 +810,7 @@ BEGINobjConstruct(strm) /* be sure to specify the object type also in END macro!
|
||||
pThis->sType = STREAMTYPE_FILE_SINGLE;
|
||||
pThis->sIOBufSize = glblGetIOBufSize();
|
||||
pThis->tOpenMode = 0600;
|
||||
pThis->pszSizeLimitCmd = NULL;
|
||||
pThis->prevLineSegment = NULL;
|
||||
ENDobjConstruct(strm)
|
||||
|
||||
@ -941,6 +942,7 @@ CODESTARTobjDestruct(strm)
|
||||
free(pThis->pZipBuf);
|
||||
free(pThis->pszCurrFName);
|
||||
free(pThis->pszFName);
|
||||
free(pThis->pszSizeLimitCmd);
|
||||
pThis->bStopWriter = 2; /* RG: use as flag for destruction */
|
||||
ENDobjDestruct(strm)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user