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.