diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-18 09:42:04 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-18 09:42:04 +0000 |
commit | 12274407143957481c1dbcc94390418d932b582d (patch) | |
tree | 846d046cdd7fc771f967d1fc010aa2bd1a8dbe20 | |
parent | 03a9aa66e2a38dc4f69a0db2f61861c3b17c7d2d (diff) | |
download | rsyslog-12274407143957481c1dbcc94390418d932b582d.tar.gz rsyslog-12274407143957481c1dbcc94390418d932b582d.tar.xz rsyslog-12274407143957481c1dbcc94390418d932b582d.zip |
bugfix: fixed abort when invalid template was provided to an action bug:
http://bugzilla.adiscon.com/show_bug.cgi?id=4
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | action.c | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -3,6 +3,9 @@ Version 3.11.3 (rgerhards), 2008-02-?? - slightly improved man pages for novice users - fixed a bug in imklog which lead to duplicate message content in kernel logs +- added support for better plugin handling in libdbi (we contributed + a patch to do that, we just now need to wait for the next libdbi + version) --------------------------------------------------------------------------- Version 3.11.2 (rgerhards), 2008-02-15 - added the capability to monitor text files and process their content @@ -126,7 +126,9 @@ rsRetVal actionDestruct(action_t *pThis) DEFiRet; ASSERT(pThis != NULL); - queueDestruct(&pThis->pQueue); + if(pThis->pQueue != NULL) { + queueDestruct(&pThis->pQueue); + } if(pThis->pMod != NULL) pThis->pMod->freeInstance(pThis->pModData); |