Skip to content

Do not leak GC objects in Array::new on type-mismatch errors - #14595

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
fitzgen:issue-14565-drc-array-leak
Oct 6, 2026
Merged

alexcrichton merged 1 commit into
bytecodealliance:mainfrom
fitzgen:issue-14565-drc-array-leak

Conversation

@fitzgen

@fitzgen fitzgen commented Oct 6, 2026

Copy link
Copy Markdown
Member

Fixes #14565

@fitzgen
fitzgen requested a review from a team as a code owner October 6, 2026 22:43
@fitzgen
fitzgen requested review from alexcrichton and removed request for a team October 6, 2026 22:43
@alexcrichton
alexcrichton added this pull request to the merge queue Oct 6, 2026
Merged via the queue into bytecodealliance:main with commit 170d910 Oct 6, 2026
53 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.

DRC leaks the array when ArrayRef::new fails its element type check

2 participants