summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-24 15:16:51 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-24 15:16:51 +0200
commit301ac7591ada58671cf6a02646a7481bf1bfa469 (patch)
treef08d0de727ddb0e6471dc15678ec0ea6eae5718b /runtime/msg.c
parent675d46f5b59f64e378968baa5e0dec6810090287 (diff)
parent736a3631e63955175294311988090e22dac93a8e (diff)
downloadrsyslog-301ac7591ada58671cf6a02646a7481bf1bfa469.tar.gz
rsyslog-301ac7591ada58671cf6a02646a7481bf1bfa469.tar.xz
rsyslog-301ac7591ada58671cf6a02646a7481bf1bfa469.zip
Merge branch 'v4-stable' into beta
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 8122383a..22f81f5d 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -379,7 +379,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)