From 12274407143957481c1dbcc94390418d932b582d Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 18 Feb 2008 09:42:04 +0000 Subject: bugfix: fixed abort when invalid template was provided to an action bug: http://bugzilla.adiscon.com/show_bug.cgi?id=4 --- action.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'action.c') diff --git a/action.c b/action.c index d9ac6133..938aefaf 100644 --- a/action.c +++ b/action.c @@ -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); -- cgit