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

kprobe: Add defer statements for resource cleanup in KprobeAttach()/KretprobeAttach() #46

Merged
merged 1 commit into from
Sep 17, 2023

Commits on Sep 17, 2023

  1. kprobe: Add defer statements for resource cleanup in KprobeAttach()/K…

    …retprobeAttach
    
    Ensure that file handle is properly closed using `defer` statements.
    
    Signed-off-by: shun159 <dreamdiagnosis@gmail.com>
    shun159 committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    f00645b View commit details
    Browse the repository at this point in the history