mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00:00
[COMCTL32] -Rebar: Fix a region handle leak when themes are enabled.
svn path=/trunk/; revision=74438
This commit is contained in:
@@ -1974,8 +1974,8 @@ static LRESULT REBAR_EraseBkGnd (const REBAR_INFO *infoPtr, HDC hdc)
|
||||
HBRUSH hbrush = CreateSolidBrush(new);
|
||||
FillRgn(hdc, hrgn, hbrush);
|
||||
DeleteObject(hbrush);
|
||||
DeleteObject(hrgn);
|
||||
}
|
||||
DeleteObject(hrgn);
|
||||
#endif
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user