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:
modusc896d352 2024-07-17 22:32:41 -03:00
parent edde33489b
commit 61c5803cce

View File

@ -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);
}