From 6598589ebdab6a184960a2ef26b21f618f211f94 Mon Sep 17 00:00:00 2001 From: Michael Jung Date: Fri, 21 Dec 2007 08:18:35 +0100 Subject: [PATCH] ole32: Avoid leaving a critical section twice. --- dlls/ole32/moniker.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c index cbb89e5d69c..8511a9f72b4 100644 --- a/dlls/ole32/moniker.c +++ b/dlls/ole32/moniker.c @@ -817,11 +817,13 @@ RunningObjectTableImpl_NoteChangeTime(IRunningObjectTable* iface, } break; } - break; + + goto done; } } LeaveCriticalSection(&This->lock); +done: TRACE("-- 0x08%x\n", hr); return hr; }