Game now completely starts up without memory leaks

svn-id: r44862
This commit is contained in:
Paul Gilbert 2009-10-10 04:47:18 +00:00
parent df3fbd432d
commit 6bbe30f44b

View File

@ -218,9 +218,9 @@ void removeCell(cellStruct *objPtr, int ovlNumber, int objectIdx, int objType, i
dx->prev = si->prev;
// TODO: complelty wrong
//freeMessageList(si);
// Free the entry
if (si->gfxPtr)
freeGfx(si->gfxPtr);
MemFree(si);
currentObj = dx;