mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Destroy created pen after use (fixes a GDI object leak)
svn path=/trunk/; revision=29671
This commit is contained in:
parent
9849a423d6
commit
d8772de615
1 changed files with 2 additions and 0 deletions
|
@ -922,6 +922,8 @@ MonSelPaint(IN OUT PMONITORSELWND infoPtr,
|
|||
hpOldFg);
|
||||
SelectObject(hDC,
|
||||
hbOldBk);
|
||||
|
||||
DeleteObject(hpFg);
|
||||
}
|
||||
|
||||
static VOID
|
||||
|
|
Loading…
Reference in a new issue