mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:05:42 +00:00
dereference thread in NtUserBuildHwndList()
svn path=/trunk/; revision=7023
This commit is contained in:
parent
5571270a01
commit
a55087b101
1 changed files with 3 additions and 1 deletions
|
@ -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: window.c,v 1.161 2003/12/14 12:39:32 navaraf Exp $
|
||||
/* $Id: window.c,v 1.162 2003/12/14 14:26:50 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -920,6 +920,8 @@ NtUserBuildHwndList(
|
|||
HandleTable = (PUSER_HANDLE_TABLE)(WindowStation->HandleTable);
|
||||
ASSERT(HandleTable);
|
||||
|
||||
ObDereferenceObject(Thread);
|
||||
|
||||
ExAcquireFastMutex(&HandleTable->ListLock);
|
||||
|
||||
Current = HandleTable->ListHead.Flink;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue