user32/win: Release scroll window data on window destruction.
This commit is contained in:
parent
ebea81f131
commit
77fe22b226
|
@ -769,6 +769,8 @@ LRESULT WIN_DestroyWindow( HWND hwnd )
|
|||
free_dce( wndPtr->dce, hwnd );
|
||||
wndPtr->dce = NULL;
|
||||
icon_title = wndPtr->icon_title;
|
||||
HeapFree(GetProcessHeap(), 0, wndPtr->pScroll);
|
||||
wndPtr->pScroll = NULL;
|
||||
WIN_ReleasePtr( wndPtr );
|
||||
|
||||
if (icon_title) DestroyWindow( icon_title );
|
||||
|
|
Loading…
Reference in New Issue