Skip to content

fix memory leaks on error path - #58

Open
y1lan wants to merge 1 commit into
jaredforth:mainfrom
y1lan:yanglin/fix/memory_leak
Open

y1lan wants to merge 1 commit into
jaredforth:mainfrom
y1lan:yanglin/fix/memory_leak

Conversation

@y1lan

@y1lan y1lan commented Dec 2, 2026

Copy link
Copy Markdown

previous code would early return When mux_error != WebPMuxError::WEBP_MUX_OK
but forgot to release mux and webp_data

previous code would early return When `mux_error != WebPMuxError::WEBP_MUX_OK`
but forgot to release `mux` and `webp_data`
Copilot AI balanced review requested due to automatic review settings December 2, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@y1lan

y1lan commented Dec 2, 2026

Copy link
Copy Markdown
Author

yeah, I don't have any copilot quotas ....

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.

2 participants