[Gtkradiant] [Bug 99] GDI leak in GTK console text and entity properties text

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Fri, 29 Jun 2001 17:38:43 -0500


ttimo@idsoftware.com changed:

           What    |Old Value                   |New Value
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From ttimo@idsoftware.com  2001-06-29 17:38 -------

Started adding g_warning calls to every use of CreateRectRgn or 
CreateRectRgnIndirect (redirected to file logging instead of console to avoid 
nasty recursion)

Noticed a region leak in gdk_win32_draw_drawable
/* Blitting inside a window, use ScrollDC */
updateRgn = CreateRectRgnIndirect (&emptyRect);

added DeleteObject(updateRgn);

and the leak is out