summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-24 15:17:04 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-24 15:17:04 +0200
commitdb3d5edbe6ac016d99122deeb3da640d7d8864a2 (patch)
tree7d4239b482900e0f7ebd49ae7f2fef2eea482767
parent539f33c6a064b8c28cbb318e856dc50c213fd844 (diff)
parent301ac7591ada58671cf6a02646a7481bf1bfa469 (diff)
downloadrsyslog-db3d5edbe6ac016d99122deeb3da640d7d8864a2.tar.gz
rsyslog-db3d5edbe6ac016d99122deeb3da640d7d8864a2.tar.xz
rsyslog-db3d5edbe6ac016d99122deeb3da640d7d8864a2.zip
Merge branch 'beta'
-rw-r--r--ChangeLog2
-rw-r--r--runtime/msg.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c2e51768..6cbfcf70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -264,6 +264,8 @@ Version 3.22.1 [v3-stable] (rgerhards), 2009-04-??
- relaxed GnuTLS version requirement to 1.4.0 after confirmation from the
field that this version is sufficient
- bugfix: parser did not properly handle empty structured data
+- bugfix: invalid mutex release in msg.c (detected under thread debugger,
+ seems not to have any impact on actual deployments)
---------------------------------------------------------------------------
Version 3.22.0 [v3-stable] (rgerhards), 2009-04-21
This is the first stable release that includes the full functionality
diff --git a/runtime/msg.c b/runtime/msg.c
index 1a882597..8aab5317 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -616,7 +616,9 @@ CODESTARTobjDestruct(msg)
}
# endif
} else {
+# ifndef HAVE_ATOMIC_BUILTINS
MsgUnlock(pThis);
+# endif
pThis = NULL; /* tell framework not to destructing the object! */
}
ENDobjDestruct(msg)