comctl32: Fix a ranges leak on error.

This commit is contained in:
Nikolay Sivov 2012-12-08 20:25:06 +04:00 committed by Alexandre Julliard
parent af5e73572a
commit 9ed808e340
1 changed files with 2 additions and 0 deletions

View File

@ -4954,6 +4954,8 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
SelectObject( hdc, hOldPen );
DeleteObject( hPen );
}
else
ranges_destroy(colRanges);
}
/***