Skip to content

fix leak creation of invalid BinaryView handle#5294

Merged
rssor merged 1 commit into
Vector35:devfrom
rbran:fix-form-input-builder
May 1, 2024
Merged

fix leak creation of invalid BinaryView handle#5294
rssor merged 1 commit into
Vector35:devfrom
rbran:fix-form-input-builder

Conversation

@rbran
Copy link
Copy Markdown
Contributor

@rbran rbran commented Apr 17, 2024

The parameter view: Option<Ref<BinaryView>> is being dropped by the if let statement, making the handle to it invalid.

This fix the problem with Ref::into_raw.

@plafosse plafosse requested a review from ElykDeer April 17, 2024 17:31
@plafosse plafosse added this to the Elysium milestone Apr 17, 2024
@rssor rssor merged commit e0fb875 into Vector35:dev May 1, 2024
@rbran rbran deleted the fix-form-input-builder branch May 1, 2024 14:54
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.

3 participants