mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Add missing WIN_ReleaseWndPtr in WIN_CreateDesktopWindow.
This commit is contained in:
parent
244462cc70
commit
69e3500950
@ -794,7 +794,11 @@ BOOL WIN_CreateDesktopWindow(void)
|
||||
WIN_SetRectangles( hwndDesktop, &rect, &rect );
|
||||
WIN_SetStyle( hwndDesktop, WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS );
|
||||
|
||||
if (!USER_Driver.pCreateWindow( hwndDesktop, &cs, FALSE )) return FALSE;
|
||||
if (!USER_Driver.pCreateWindow( hwndDesktop, &cs, FALSE ))
|
||||
{
|
||||
WIN_ReleaseWndPtr( pWndDesktop );
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
pWndDesktop->flags |= WIN_NEEDS_ERASEBKGND;
|
||||
WIN_ReleaseWndPtr( pWndDesktop );
|
||||
|
Loading…
Reference in New Issue
Block a user