mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:52:56 +00:00
Fix double release of fast mutex
svn path=/trunk/; revision=8286
This commit is contained in:
parent
409eab1805
commit
717c7d0333
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -1282,9 +1282,9 @@ WinPosSearchChildren(PWINDOW_OBJECT ScopeWin, POINT *Point,
|
||||||
Point->y < Current->ClientRect.bottom)
|
Point->y < Current->ClientRect.bottom)
|
||||||
{
|
{
|
||||||
USHORT ChildHitTest;
|
USHORT ChildHitTest;
|
||||||
ExReleaseFastMutexUnsafe(&ScopeWin->ChildrenListLock);
|
|
||||||
if(WinPosSearchChildren(Current, Point, Window, &ChildHitTest))
|
if(WinPosSearchChildren(Current, Point, Window, &ChildHitTest))
|
||||||
{
|
{
|
||||||
|
ExReleaseFastMutexUnsafe(&ScopeWin->ChildrenListLock);
|
||||||
*HitTest = ChildHitTest;
|
*HitTest = ChildHitTest;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue