- Fixed: The FSpecialFont constructor created the name string twice.

- Fixed: The animated door parser was still leaking memory when it encountered
  an invalid animation due to missing textures.
- Fixed: The music volume list wasn't freed.
- Fixed: The image for WADs that were loaded from inside Zips was never freed.


SVN r92 (trunk)
This commit is contained in:
Christoph Oelckers 2006-05-09 21:21:57 +00:00
commit 7ed597fcbe
5 changed files with 33 additions and 6 deletions

View file

@ -210,6 +210,19 @@ static const char *SICommandStrings[] =
static TArray<FRandomSoundList> S_rnd;
static FMusicVolume *MusicVolumes;
static struct MusicVolumeDeleter
{
~MusicVolumeDeleter()
{
while(MusicVolumes!=NULL)
{
FMusicVolume * next = MusicVolumes->Next;
free(MusicVolumes);
MusicVolumes=next;
}
}
} DeleteTheMusicVolumes;
static int NumPlayerReserves;
static bool DoneReserving;
static bool PlayerClassesIsSorted;