mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-18 18:21:22 +00:00
Fix memleak in snd_cache.cpp (from Harry Jeffery)
This fix is stolen from https://bugzilla.icculus.org/show_bug.cgi?id=5345
This commit is contained in:
parent
6a23b17509
commit
56873e1fec
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ void idSoundCache::PrintMemInfo( MemInfo_t *mi ) {
|
|||
|
||||
f->Printf( "\nTotal sound bytes allocated: %s\n", idStr::FormatNumber( total ).c_str() );
|
||||
fileSystem->CloseFile( f );
|
||||
delete[] sortIndex;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue