- 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
parent e16fde611f
commit c8e01f9f91
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,7 @@
April 4, 2009
April 6, 2009 (Changes by Graf Zahl)
- Fixed: The UDMF textmap readbuffer was never freed.
April 4, 2009
- Fixed: GetPlayerInput() died if you tried to get the input of the activator
and the activator was the world.

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();
}
};