From 5453699428b8f5a7dd6ac23abe7b838dd19101b5 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 28 Jan 2009 13:02:45 +0100 Subject: fixed copy&paste error ... one should at least compile before comitting - sorry, been so eager to push that out. --- msg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/msg.c b/msg.c index 107df1f9..2261593a 100644 --- a/msg.c +++ b/msg.c @@ -272,7 +272,7 @@ BEGINobjDestruct(msg) /* be sure to specify the object type also in END and CODE int currRefCount; CODESTARTobjDestruct(msg) /* DEV Debugging only ! dbgprintf("msgDestruct\t0x%lx, Ref now: %d\n", (unsigned long)pM, pM->iRefCount - 1); */ - MsgLock(pM); + MsgLock(pThis); currRefCount = --pThis->iRefCount; if(currRefCount == 0) { @@ -325,10 +325,10 @@ CODESTARTobjDestruct(msg) rsCStrDestruct(&pThis->pCSPROCID); if(pThis->pCSMSGID != NULL) rsCStrDestruct(&pThis->pCSMSGID); - MsgUnlock(pM); + MsgUnlock(pThis); funcDeleteMutex(pThis); } else { - MsgUnlock(pM); + MsgUnlock(pThis); pThis = NULL; /* tell framework not to destructing the object! */ } ENDobjDestruct(msg) -- cgit