diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-30 10:02:33 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-30 10:02:33 +0000 |
commit | 91b5178c124417b419854cae35204b6742605af5 (patch) | |
tree | d05f0ecf85b276870e36b1d0216eaca322571460 | |
parent | 09a99b4d971607269525e56f1680d0ae6a0ea137 (diff) | |
download | rsyslog-91b5178c124417b419854cae35204b6742605af5.tar.gz rsyslog-91b5178c124417b419854cae35204b6742605af5.tar.xz rsyslog-91b5178c124417b419854cae35204b6742605af5.zip |
fixed bug in output module interface, see
http://sourceforge.net/tracker/index.php?func=detail&aid=1881008&group_
id=123448&atid=696552
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | module-template.h | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -19,6 +19,12 @@ Version 3.11.0 (rgerhards), 2008-01-?? - added $ActionQueueSaveonShutdown config directive - bugfix: added forgotten docs to package - improved debugging support +- fixed a bug that caused $MainMsgQueueCheckpointInterval to work incorrectly +- when a long-running action needs to be cancelled on shutdown, the message + that was processed by it is now preserved. This finishes support for + guaranteed delivery of messages (if the output supports it, of course) +- fixed bug in output module interface, see + http://sourceforge.net/tracker/index.php?func=detail&aid=1881008&group_id=123448&atid=696552 --------------------------------------------------------------------------- Version 3.10.3 (rgerhards), 2008-01-28 - fixed a bug with standard template definitions (not a big deal) - thanks diff --git a/module-template.h b/module-template.h index c92ec25a..7ac5a3e5 100644 --- a/module-template.h +++ b/module-template.h @@ -243,8 +243,9 @@ finalize_it:\ OMSRdestruct(*ppOMSR);\ *ppOMSR = NULL;\ }\ - if(pData != NULL)\ - freeInstance(&pData);\ + if(pData != NULL) {\ + freeInstance(pData);\ + } \ } #define ENDparseSelectorAct \ |