mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-27 16:10:48 +01:00
fix crash with compiled VS2022 binary
- apparently, freeing data->samples from free_ongakukan_adp (ongakukan_adp_decoder.c) causes heap corruption everywhere because it was already freed to begin with! -- removing the offending line of code will no longer crash VS2022 builds of vgmstream.
This commit is contained in:
parent
edde33489b
commit
61c5803cce
@ -79,7 +79,6 @@ void free_ongakukan_adp(ongakukan_adp_data* data)
|
||||
if (!data) return;
|
||||
close_streamfile(data->sf);
|
||||
ongakukan_adpcm_free(data->handle);
|
||||
free(data->samples);
|
||||
free(data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user