mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Fix memory leak/lock when failing to open dual file stereo
This commit is contained in:
parent
a6cd96616e
commit
d6214fe01d
@ -2640,7 +2640,9 @@ static void try_dual_file_stereo(VGMSTREAM * opened_vgmstream, STREAMFILE *strea
|
||||
mixing_update_channel(opened_vgmstream); /* notify of new channel hacked-in */
|
||||
}
|
||||
|
||||
return;
|
||||
fail:
|
||||
close_vgmstream(new_vgmstream);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user