From f1253083e4f0f682baa8fbd167b5b26ce0440f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 26 Jan 2004 23:29:23 +0000 Subject: [PATCH] Release mutex on error exit svn path=/trunk/; revision=7884 --- reactos/subsys/win32k/ntuser/hotkey.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/ntuser/hotkey.c b/reactos/subsys/win32k/ntuser/hotkey.c index 731e9e4586c..48c22de7d66 100644 --- a/reactos/subsys/win32k/ntuser/hotkey.c +++ b/reactos/subsys/win32k/ntuser/hotkey.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: hotkey.c,v 1.5 2003/11/23 12:24:21 weiden Exp $ +/* $Id: hotkey.c,v 1.6 2004/01/26 23:29:23 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -238,6 +238,7 @@ NtUserRegisterHotKey(HWND hWnd, /* Check for existing hotkey */ if (IsHotKey (WinStaObject, fsModifiers, vk)) { + ExReleaseFastMutex (&WinStaObject->HotKeyListLock); IntReleaseWindowObject(Window); return FALSE; }