diff options
author | David Tardon <dtardon@redhat.com> | 2011-06-10 13:58:34 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-06-10 13:59:11 +0200 |
commit | 82df2651c1af510e646ceadd654abc9b55ac2160 (patch) | |
tree | 1a10a5b472eacf6ffa48aa52904ec18051cb9322 /vcl/unx | |
parent | 148462f5428f5af099321161f846f95618fca72b (diff) |
helgrind: Thread #1 unlocked a not-locked lock
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/sm.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index e12c3c91c41b..29843c3303df 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -794,6 +794,9 @@ void ICEConnectionObserver::ICEWatchProc( close( nWakeupFiles[1] ); close( nWakeupFiles[0] ); ICEThread = NULL; + // acquire the mutex again, because the caller does not expect + // it to be released when calling into SM + osl_acquireMutex( ICEMutex ); } } SMprintf( "ICE connection on %d %s\n", |