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

fix: IL2CPP line number crash #1126

Merged
merged 3 commits into from
Jan 6, 2023
Merged

fix: IL2CPP line number crash #1126

merged 3 commits into from
Jan 6, 2023

Conversation

bitsandfoxes
Copy link
Contributor

Resolves #1123

If we let the marshalling take care of the string it'll try to free the allocated memory with the "wrong" free and not the IL2CPP one.

@bitsandfoxes bitsandfoxes requested a review from vaind as a code owner December 21, 2022 13:44
@vaind vaind merged commit 4a89fd9 into main Jan 6, 2023
@vaind vaind deleted the fix/il2cpp-line-numbers branch January 6, 2023 11:44
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- IL2CPP line number crash ([#1126](https://github.com/getsentry/sentry-unity/pull/1126))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 833d93e

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.

Unity 2022 - IL2CPP line numbers crash game
2 participants