Skip to content

fix: Memory leak in get_found_response#1456

Merged
zkat merged 4 commits into
mainfrom
sy/cache-options-memory-leak
May 8, 2026
Merged

fix: Memory leak in get_found_response#1456
zkat merged 4 commits into
mainfrom
sy/cache-options-memory-leak

Conversation

@TartanLlama

Copy link
Copy Markdown
Contributor

Memory for allocated write options in get_found_response is leaked in the case of an error. This PR ensures it is freed.

No test as we currently do not have LeakSanitizer support.

@zkat zkat enabled auto-merge (squash) May 8, 2026 21:33
@zkat zkat disabled auto-merge May 8, 2026 21:41
@zkat zkat enabled auto-merge (squash) May 8, 2026 22:18
@zkat zkat disabled auto-merge May 8, 2026 22:22
@zkat zkat enabled auto-merge (squash) May 8, 2026 22:22
@zkat zkat disabled auto-merge May 8, 2026 22:22
@zkat zkat merged commit 17559d3 into main May 8, 2026
29 checks passed
@zkat zkat deleted the sy/cache-options-memory-leak branch May 8, 2026 22:22
pull Bot pushed a commit to eduardomourar/js-compute-runtime that referenced this pull request May 14, 2026
Co-authored-by: Kat Marchán <kzm@zkat.tech>
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