Destroy created pen after use (fixes a GDI object leak)

svn path=/trunk/; revision=29671
This commit is contained in:
Thomas Bluemel 2007-10-19 04:51:07 +00:00
parent 9849a423d6
commit d8772de615

View file

@ -922,6 +922,8 @@ MonSelPaint(IN OUT PMONITORSELWND infoPtr,
hpOldFg);
SelectObject(hDC,
hbOldBk);
DeleteObject(hpFg);
}
static VOID