[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 08:45:12 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=99





------- Additional Comments From ttimo@idsoftware.com  2001-06-29 08:45 -------
Got a brand new win98 box and started to look into it. I confirm that two new 
region are getting allocated on each Sys_Printf use (each GtkText use 
actually). But this doesn't seem like a leak. Tried running GDIUsage to get a 
general leak between and after GtkRadiant run, but the region objects had been 
destroyed.

See http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/gdi/hh/gdi/regions_1x9q.asp

Next step is probably to set breakpoints on the Region creation function (very 
likely the rectangular regions) "Rectangular region CreateRectRgn, 
CreateRectRgnIndirect, SetRectRgn" and try to identify the problem from there.

Anyone got information on how to set breakpoints on kernel functions entry 
points?