AUDIO: Plug memory leak

This commit is contained in:
Eugene Sandulenko 2020-08-10 10:54:34 +02:00
parent 37776d78c6
commit 3c5f17dca8

View File

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