- Merge Giannis's rebar leak fix from r74438.

svn path=/branches/ros-branch-0_4_5/; revision=74455
This commit is contained in:
Thomas Faber 2017-05-03 11:10:26 +00:00
parent e9dbe67399
commit adf25037a3

View file

@ -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;
}