Skip to content

Conversation

@vicLin8712
Copy link
Collaborator

@vicLin8712 vicLin8712 commented Nov 21, 2025

This PR removes redundant free() in mo_task_cancel(), which has been called in list_remove().

As mentioned in #49


Summary by cubic

Remove redundant free(node) in mo_task_cancel(); list_remove() already frees the node. This prevents double-free and potential crashes or heap corruption when canceling a task.

Written for commit 39c0212. Summary will update automatically on new commits.

This commit removes redundant free() in mo_task_cancel() which
has been called in list_remove().
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@jserv jserv merged commit 7e7fa67 into sysprog21:main Nov 21, 2025
5 checks passed
@jserv
Copy link
Contributor

jserv commented Nov 21, 2025

Thank @vicLin8712 for contributing!

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