Skip to content

Conversation

Mirza-Samad-Ahmed-Baig
Copy link

This pull request fixes a potential resource leak in the runGrype function. The defer statement to close the vulnerability database is moved to the beginning of the function to ensure it is always executed, even if an error occurs.

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.

1 participant