Module: wine Branch: master Commit: 9ed808e340cd7aa1e36993b0d55f751335896e0d URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ed808e340cd7aa1e36993b0d5...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sat Dec 8 20:25:06 2012 +0400
comctl32: Fix a ranges leak on error.
---
dlls/comctl32/listview.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 4bac508..918faa8 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -4954,6 +4954,8 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc) SelectObject( hdc, hOldPen ); DeleteObject( hPen ); } + else + ranges_destroy(colRanges); }
/***