From 05538a2bad4f9a2c1be7a50099e30ab22249a2ff Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 30 Jan 2008 15:59:02 +0000 Subject: fixed bug during cancel processing --- wti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wti.c b/wti.c index f938be3b..a1b60254 100644 --- a/wti.c +++ b/wti.c @@ -321,6 +321,7 @@ wtiWorker(wti_t *pThis) ISOBJ_TYPE_assert(pWtp, wtp); dbgSetThrdName(pThis->pszDbgHdr); + pThis->pUsrp = NULL; pthread_cleanup_push(wtiWorkerCancelCleanup, pThis); BEGIN_MTX_PROTECTED_OPERATIONS(pWtp->pmutUsr, LOCK_MUTEX); -- cgit