Skip to content

[Rust] Avoid leaking a reference within {Medium,High}LevelILFunction::ssa_form #6785

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

Merged
merged 2 commits into from
May 5, 2025

Conversation

bdash
Copy link
Contributor

@bdash bdash commented May 4, 2025

Return a Ref<_> so that the underlying core object will have its reference count decremented when the caller drops the object.

…:ssa_form

Return a Ref<_> so that the underlying core object will have its
reference count decremented when the caller drops the object.
CI is complaining about it.
@emesare
Copy link
Member

emesare commented May 4, 2025

LGTM

@emesare emesare self-assigned this May 4, 2025
@emesare emesare added this to the Gallifrey Release 2 milestone May 5, 2025
@emesare emesare merged commit 178887b into Vector35:dev May 5, 2025
5 of 6 checks passed
@bdash bdash deleted the rust-ssa-form-leak branch May 5, 2025 14:29
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