Skip to content
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

ata_channel_destroy(): free the channel #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcimerman
Copy link
Contributor

@mcimerman mcimerman commented Nov 10, 2024

While browsing the ATA code again, I noticed that the initial call to calloc() doesn't have a free() pair.

@mcimerman
Copy link
Contributor Author

Looking back at this PR, I think we should free() the channel only when rc == EOK.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant