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

Add DllCrtFree implementation #2809

Merged
merged 1 commit into from
Jan 13, 2024
Merged

Add DllCrtFree implementation #2809

merged 1 commit into from
Jan 13, 2024

Conversation

Aurumaker72
Copy link
Contributor

Mupen64-rr-lua is crashing when freeing the image buffer acquired from ReadScreen.

GLideN64 doesn't provide a free override (DllCrtFree), so mupen falls back to the standard library one, assuming the plugin is using it as well

Adding a DllCrtFree implementation to GLideN64 makes sure the buffer allocated by the plugin is freed by the same CRT version, avoiding this error.

@gonetz gonetz merged commit 9146cd7 into gonetz:master Jan 13, 2024
10 checks passed
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.

2 participants