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 /action.c | |
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
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |