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

FEXRootFSFetcher/XXHash: Fix double fd close #4054

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

Sonicadvance1
Copy link
Member

Since HadError is a lambda that handles FD closing this was a double FD close. Just move the xxhash state freeing in there as well and remove the FD and hash freeing. Fixes the double free.

Since `HadError` is a lambda that handles FD closing this was a double
FD close. Just move the xxhash state freeing in there as well and remove
the FD and hash freeing. Fixes the double free.
@Sonicadvance1 Sonicadvance1 merged commit 360ea53 into FEX-Emu:main Sep 10, 2024
12 checks passed
@Sonicadvance1 Sonicadvance1 deleted the fix_xxhash branch September 10, 2024 01:03
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