mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
couple of memory leaks fixes.
This commit is contained in:
@@ -144,6 +144,7 @@ SoundBuffer *load_opened_ogg_file(OggVorbis_File *oggFile,
|
||||
ov_clear(oggFile);
|
||||
infostream << "Audio: Error decoding "
|
||||
<< filename_for_logging << std::endl;
|
||||
delete snd;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user