- Fixed: The UDMF textmap readbuffer was never freed.

SVN r1523 (trunk)
This commit is contained in:
Christoph Oelckers 2009-04-06 17:18:29 +00:00
commit c8e01f9f91
2 changed files with 5 additions and 2 deletions

View file

@ -1107,6 +1107,7 @@ struct UDMFParser
map->Read(ML_TEXTMAP, buffer);
sc.OpenMem(Wads.GetLumpFullName(map->lumpnum), buffer, map->Size(ML_TEXTMAP));
delete [] buffer;
sc.SetCMode(true);
if (sc.CheckString("namespace"))
{
@ -1232,7 +1233,6 @@ struct UDMFParser
// Create the real linedefs and decompress the sidedefs
ProcessLineDefs();
}
};