Skip to content

Conversation

NOVBobLee
Copy link
Collaborator

Previously, the code did not call kobject_put when sysfs_create_file
failed, leading to a potential memory leak. This commit adds the missing
kobject_put to ensure proper resource cleanup.

Previously, the code did not call kobject_put when sysfs_create_file
failed, leading to a potential memory leak. This commit adds the missing
kobject_put to ensure proper resource cleanup.
@jserv jserv merged commit 9c39011 into sysprog21:master Nov 5, 2024
1 check passed
@jserv
Copy link
Contributor

jserv commented Nov 5, 2024

Thank @NOVBobLee for contributing!

@NOVBobLee NOVBobLee deleted the fix_err_handle branch November 8, 2024 11:15
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