mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +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 */
|
mixing_update_channel(opened_vgmstream); /* notify of new channel hacked-in */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
fail:
|
fail:
|
||||||
|
close_vgmstream(new_vgmstream);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user