diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-24 15:15:49 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-24 15:15:49 +0200 |
commit | af2dfd1c514cd2b33494f77e8bd88f9c401085b4 (patch) | |
tree | 1967ebb04c9d554d1703819c691f1b4fefeba8bc /runtime/msg.c | |
parent | 71c57cfa12a99c9ef8d461b5cf703706825d23fa (diff) | |
download | rsyslog-af2dfd1c514cd2b33494f77e8bd88f9c401085b4.tar.gz rsyslog-af2dfd1c514cd2b33494f77e8bd88f9c401085b4.tar.xz rsyslog-af2dfd1c514cd2b33494f77e8bd88f9c401085b4.zip |
bugfix: invalid mutex release in msg.c
Detected under threading debugger, seems not to have any impact on
actual deployments.
Diffstat (limited to 'runtime/msg.c')
-rw-r--r-- | runtime/msg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/msg.c b/runtime/msg.c index 2b58eb88..375b9861 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -355,7 +355,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) |