summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-24 15:16:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-24 15:16:35 +0200
commit736a3631e63955175294311988090e22dac93a8e (patch)
tree75891ddd927a08d3614ceb87c17fade9efc647db /runtime/msg.c
parent11cda87ededbed4441916a29fec3a3a75d7eb87c (diff)
parentaf2dfd1c514cd2b33494f77e8bd88f9c401085b4 (diff)
downloadrsyslog-736a3631e63955175294311988090e22dac93a8e.tar.gz
rsyslog-736a3631e63955175294311988090e22dac93a8e.tar.xz
rsyslog-736a3631e63955175294311988090e22dac93a8e.zip
Merge branch 'v3-stable' into v4-stable
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index 9165e8d6..c965b1f2 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -402,7 +402,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)