Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

kernel: Fix potential memory leaks - #185

Closed
ghost wants to merge 1 commit into
canaryfrom
unknown repository
Closed

ghost wants to merge 1 commit into
canaryfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 28, 2026 •

Copy link
Copy Markdown

tiann/KernelSU#3170 (#1082)

  • Callback cb not freed if task_work_add fails in Save allowlist Operation.
  • uid_data not freed if uid/package or uid parse test fails.

- Callback cb not freed if task_work_add fails in Save allowlist
Operation.
- uid_data not freed if uid/package or uid parse test fails.
@ghost ghost changed the title kernel: Fix potential memory leaks (https://github.com/tiann/KernelSU… kernel: Fix potential memory leaks Jan 28, 2026
@ghost

ghost commented Jan 28, 2026

Copy link
Copy Markdown
Author

this commit is already tested on a build of my Kernel (StarlightKernel)

@ghost

ghost commented Jan 28, 2026

Copy link
Copy Markdown
Author

credits to fatalcoder524 for the commit

@ghost ghost closed this by deleting the head repository Jan 29, 2026
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant