comctl32: Fix a ranges leak on error.
This commit is contained in:
parent
af5e73572a
commit
9ed808e340
|
@ -4954,6 +4954,8 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
|
|||
SelectObject( hdc, hOldPen );
|
||||
DeleteObject( hPen );
|
||||
}
|
||||
else
|
||||
ranges_destroy(colRanges);
|
||||
}
|
||||
|
||||
/***
|
||||
|
|
Loading…
Reference in New Issue