user: Add missing WIN_ReleasePtr.

oldstable
Vitaliy Margolen 2006-01-23 11:24:16 +01:00 committed by Alexandre Julliard
parent 2a93c2f23d
commit e383143f18
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ static BOOL SCROLL_GetScrollBarRect( HWND hwnd, INT nBar, RECT *lprect,
if (!info)
{
WARN("called for missing scroll bar");
WIN_ReleasePtr( wndPtr );
return FALSE;
}
*arrowSize = GetSystemMetrics(SM_CXVSCROLL);