mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Don't call IntReleaseWindowObject with handle.
svn path=/trunk/; revision=12042
This commit is contained in:
parent
1d43b533ec
commit
7660dbd930
1 changed files with 2 additions and 2 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.253 2004/12/12 01:40:37 weiden Exp $
|
||||
/* $Id: window.c,v 1.254 2004/12/12 16:47:52 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -2370,7 +2370,7 @@ NtUserFindWindowEx(HWND hwndParent,
|
|||
ChildAfter = NULL;
|
||||
if(hwndChildAfter && !(ChildAfter = IntGetWindowObject(hwndChildAfter)))
|
||||
{
|
||||
IntReleaseWindowObject(hwndParent);
|
||||
IntReleaseWindowObject(Parent);
|
||||
SetLastWin32Error(ERROR_INVALID_WINDOW_HANDLE);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue