Skip to content

Drop unused InstallResult.archive_path to plug success-path leak#33

Open
versecafe wants to merge 1 commit into
vercel-labs:mainfrom
versecafe:fix-cef-install-result-archive-path-leak
Open

Drop unused InstallResult.archive_path to plug success-path leak#33
versecafe wants to merge 1 commit into
vercel-labs:mainfrom
versecafe:fix-cef-install-result-archive-path-leak

Conversation

@versecafe
Copy link
Copy Markdown

@versecafe versecafe commented May 13, 2026

  • installPrepared / installOfficial allocated archive_path via std.fs.path.join(allocator, ...) and returned it on InstallResult. The only caller (run) never read or freed it, so every successful install leaked the slice.
  • The field was write only with no external consumers on an internal path so pulled it from the return

Fixes #32

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

@versecafe is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@versecafe versecafe force-pushed the fix-cef-install-result-archive-path-leak branch from 371c51b to fac1e58 Compare May 14, 2026 04:23
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.

cef.zig: InstallResult.archive_path leaks on success

1 participant