1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-21 11:55:43 +02:00

couple of memory leaks fixes.

This commit is contained in:
David Carlier
2016-07-28 08:56:22 +01:00
parent c8b4bedaa8
commit c7910827d7
5 changed files with 23 additions and 3 deletions

View File

@@ -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;
}