Skip to content

fix: Memory leak on failed inspect hostcall#1455

Open
TartanLlama wants to merge 1 commit intomainfrom
sy/memory-leak-inspect
Open

fix: Memory leak on failed inspect hostcall#1455
TartanLlama wants to merge 1 commit intomainfrom
sy/memory-leak-inspect

Conversation

@TartanLlama
Copy link
Copy Markdown
Contributor

@TartanLlama TartanLlama commented May 5, 2026

In the case that inspect fails, memory for the allocated return is leaked. This PR frees it on the error path.

No test as we currently do not have LeakSanitizer support.

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.

1 participant