Commit e9a15283 authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32font_close): Delete the GDI font object.

parent 25904b8f
......@@ -317,7 +317,7 @@ w32font_close (f, font)
if (font->font.font)
{
W32FontStruct *old_w32_font = (W32FontStruct *)font->font.font;
DeleteObject (font->font.font);
DeleteObject (old_w32_font->hfont);
xfree (old_w32_font);
font->font.font = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment