summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index d5e1fde9..6c1b9ff3 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -342,8 +342,8 @@ CODESTARTobjDestruct(msg)
MsgUnlock(pThis);
funcDeleteMutex(pThis);
} else {
- pThis = NULL; /* tell framework not to destructing the object! */
MsgUnlock(pThis);
+ pThis = NULL; /* tell framework not to destructing the object! */
}
ENDobjDestruct(msg)