- 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:
parent
6de9e9a433
commit
7ed597fcbe
5 changed files with 33 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue