[Gtkradiant] [Bug 491] New: cleanup the malloc / free strategy
gtkradiant@zerowing.idsoftware.com
gtkradiant@zerowing.idsoftware.com
Thu, 25 Apr 2002 08:01:14 -0500
http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=491
Summary: cleanup the malloc / free strategy
Product: GtkRadiant
Version: 1.2
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: editor
AssignedTo: ttimo@idsoftware.com
ReportedBy: ttimo@idsoftware.com
now that we have solved the problem of malloc / free against modules
(see http://www.qeradiant.com/faq/fom-serve/cache/179.html)
some code is still using g_malloc and g_free, which causes memory errors
g_malloc g_free MUST be restricted to glib / Gtk+ stuff, and avoided as much as
possible otherwise
TODO: grep for g_malloc / g_free in the GtkRadiant/ tree and in the plugins
tree, and replace by regular malloc / free
Ex: the VFS functions are still using g_malloc to allocate the buffers
this is milestoned for 1.3, too dangerous to do on 1.2 for now
------- You are receiving this mail because: -------
Whoops! I have no idea!