mirror of
https://github.com/reactos/reactos.git
synced 2025-07-15 19:34:03 +00:00
[COMCTL32] -Rebar: Fix a region handle leak when themes are enabled.
svn path=/trunk/; revision=74438
This commit is contained in:
parent
f23a970e84
commit
35fecb20bc
1 changed files with 1 additions and 1 deletions
|
@ -1974,8 +1974,8 @@ static LRESULT REBAR_EraseBkGnd (const REBAR_INFO *infoPtr, HDC hdc)
|
||||||
HBRUSH hbrush = CreateSolidBrush(new);
|
HBRUSH hbrush = CreateSolidBrush(new);
|
||||||
FillRgn(hdc, hrgn, hbrush);
|
FillRgn(hdc, hrgn, hbrush);
|
||||||
DeleteObject(hbrush);
|
DeleteObject(hbrush);
|
||||||
DeleteObject(hrgn);
|
|
||||||
}
|
}
|
||||||
|
DeleteObject(hrgn);
|
||||||
#endif
|
#endif
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue