Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Double free when MA_ERROR occurs #43

Open
ziplantil opened this issue Oct 4, 2024 · 0 comments
Open

Double free when MA_ERROR occurs #43

ziplantil opened this issue Oct 4, 2024 · 0 comments

Comments

@ziplantil
Copy link

ziplantil commented Oct 4, 2024

When MA_ERROR occurs while loading a file (e.g. unsupported file format), Python crashes with a message like free(): double free detected in tcache 2.

My initial guess is that ma_decoder_uninit is not meant to be called when ma_decoder_init_file returns MA_ERROR, but it still is.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant