Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[trunk] xm64: avoid use-after-free bug when calling stop before close #584

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

rasky
Copy link
Collaborator

@rasky rasky commented Jul 19, 2024

Backport

This will backport the following commits from preview to trunk:

  • xm64: avoid use-after-free bug when calling stop before close (208f4ea)

Questions ?

Please refer to the Backport tool documentation

The following sequence:

  xm64player_stop(&player);
  xm64player_close(&player);

was causing the mixer event to stay registered after deletion of the
player.

(cherry picked from commit 208f4ea)
@rasky rasky merged commit f3aae88 into DragonMinded:trunk Jul 19, 2024
4 checks passed
@rasky rasky deleted the backport/trunk/commit-208f4ead branch July 19, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant