mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 12:12:16 +00:00
AUDIO: Plug memory leak
This commit is contained in:
parent
37776d78c6
commit
3c5f17dca8
@ -172,6 +172,7 @@ SynthFile *VGMColl::CreateSynthFile(VGMInstrSet *theInstrSet) {
|
||||
}
|
||||
if (sampCollNum == finalSampColls.size()) {
|
||||
debug("SampColl does not exist");
|
||||
delete synthfile;
|
||||
return nullptr;
|
||||
}
|
||||
// now we add the number of samples from the preceding SampColls to the value to
|
||||
|
Loading…
x
Reference in New Issue
Block a user