Skip to content

Double free when MA_ERROR occurs #43

@ziplantil

Description

@ziplantil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions