Commit 9ed808e3 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32: Fix a ranges leak on error.

parent af5e7357
......@@ -4954,6 +4954,8 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
SelectObject( hdc, hOldPen );
DeleteObject( hPen );
}
else
ranges_destroy(colRanges);
}
/***
......
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