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

Close config file handle on error. #613

Merged
merged 2 commits into from
May 9, 2024

Conversation

vladimir-aurora
Copy link
Contributor

If parsing of config file fails, close the file before returning an error.

@minminlittleshrimp
Copy link
Collaborator

Approved, file should be closed correctly.
Hello @michael-methner , kindly check and merge!

Copy link
Collaborator

@minminlittleshrimp minminlittleshrimp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly also do fclose pFile for min size buffer check fail at line 577.

@minminlittleshrimp minminlittleshrimp self-assigned this Apr 29, 2024
@minminlittleshrimp
Copy link
Collaborator

Hello @vladimir-aurora
Kindly update the patch for review and merge.
Thank you a lots

@vladimir-aurora
Copy link
Contributor Author

The patch has been updated to include the changes proposed by @minminlittleshrimp

@minminlittleshrimp minminlittleshrimp merged commit 35f599d into COVESA:master May 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants