mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
couple of memory leaks fixes.
This commit is contained in:
parent
1be3894e6f
commit
48b3bb980d
5 changed files with 23 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue