From 717c7d03330336c37b45a16a7666b9ea7104db9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 21 Feb 2004 13:37:26 +0000 Subject: [PATCH] Fix double release of fast mutex svn path=/trunk/; revision=8286 --- reactos/subsys/win32k/ntuser/winpos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/winpos.c b/reactos/subsys/win32k/ntuser/winpos.c index f5224e26f0d..e8f9b46b877 100644 --- a/reactos/subsys/win32k/ntuser/winpos.c +++ b/reactos/subsys/win32k/ntuser/winpos.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: winpos.c,v 1.93 2004/02/21 13:13:27 navaraf Exp $ +/* $Id: winpos.c,v 1.94 2004/02/21 13:37:26 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1282,9 +1282,9 @@ WinPosSearchChildren(PWINDOW_OBJECT ScopeWin, POINT *Point, Point->y < Current->ClientRect.bottom) { USHORT ChildHitTest; - ExReleaseFastMutexUnsafe(&ScopeWin->ChildrenListLock); if(WinPosSearchChildren(Current, Point, Window, &ChildHitTest)) { + ExReleaseFastMutexUnsafe(&ScopeWin->ChildrenListLock); *HitTest = ChildHitTest; return TRUE; }