From af2dfd1c514cd2b33494f77e8bd88f9c401085b4 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 24 Jun 2009 15:15:49 +0200 Subject: bugfix: invalid mutex release in msg.c Detected under threading debugger, seems not to have any impact on actual deployments. --- runtime/msg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/msg.c') diff --git a/runtime/msg.c b/runtime/msg.c index 2b58eb88..375b9861 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -355,7 +355,9 @@ CODESTARTobjDestruct(msg) # endif funcDeleteMutex(pThis); } else { +# ifndef HAVE_ATOMIC_BUILTINS MsgUnlock(pThis); +# endif pThis = NULL; /* tell framework not to destructing the object! */ } ENDobjDestruct(msg) -- cgit