[Gtkradiant] [Bug 135] New: "Invalid Address" freeing memory when radiant exits

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Wed, 25 Jul 2001 11:54:26 -0500


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

           Summary: "Invalid Address" freeing memory when radiant exits
           Product: GtkRadiant
           Version: 1.2-nightly
          Platform:
               URL:
        OS/Version: Windows 2000
            Status: NEW
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P2
         Component: editor
        AssignedTo: ttimo@idsoftware.com
        ReportedBy: wjoseph@europe.ea.com


debugger reports: HEAP[q3radiant.exe]: Invalid Address specified to RtlFreeHeap
( c00000, c48340 ) multiple times on exiting radiant.

I tracked this down to a call to g_free in QERApp_FreeShaders in shaders.dll. 
The corresponding allocation is in Texture_LoadTGATexture in radiant.exe, and 
is a qmalloc call.