Commit 77fe22b2 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

user32/win: Release scroll window data on window destruction.

parent ebea81f1
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment