Skip to content

Free task memory after completion #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2025
Merged

Conversation

charliechiou
Copy link
Contributor

Previously, tasks in coro.c were allocated using malloc but never freed, causing memory leaks.
Added missing deallocation after task completion to resolve the issue.

Previously, tasks were allocated using malloc but never freed, causing
memory leaks. Added deallocation after task completion in task0 and
task1 prevent memory leaks.
@jserv jserv merged commit c402343 into sysprog21:master Apr 20, 2025
@jserv
Copy link
Contributor

jserv commented Apr 20, 2025

Thank @charliechiou 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