summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-01-30 13:53:37 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-01-30 13:53:37 +0100
commita2f547fdbfcad6cdc641b8958ccc2dac761b02b6 (patch)
treec54dde057599900ddd7a32abc40d80ae2e703e49 /runtime
parent94f8ca5e2cc12dd2ea9fed6027b531b182cfe73d (diff)
parentb54797da054a74144f10dfeb0daeca99decd9b12 (diff)
downloadrsyslog-a2f547fdbfcad6cdc641b8958ccc2dac761b02b6.tar.gz
rsyslog-a2f547fdbfcad6cdc641b8958ccc2dac761b02b6.tar.xz
rsyslog-a2f547fdbfcad6cdc641b8958ccc2dac761b02b6.zip
Merge branch 'beta'
Diffstat (limited to 'runtime')
-rw-r--r--runtime/msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index 457a592a..9aa2ce84 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -397,7 +397,9 @@ CODESTARTobjDestruct(msg)
rsCStrDestruct(&pThis->pCSPROCID);
if(pThis->pCSMSGID != NULL)
rsCStrDestruct(&pThis->pCSMSGID);
+# ifndef HAVE_ATOMIC_BUILTINS
MsgUnlock(pThis);
+# endif
funcDeleteMutex(pThis);
} else {
MsgUnlock(pThis);