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

scan-build fixes. #128

Merged
merged 1 commit into from
Jul 27, 2023
Merged

scan-build fixes. #128

merged 1 commit into from
Jul 27, 2023

Conversation

tzarc
Copy link
Contributor

@tzarc tzarc commented Jul 27, 2023

When running scan-build (i.e. wrapping clang's static code analyser), it'd flag a few possible memory leaks.

This PR makes things a little "safer" as far as clang is concerned (as well as a bit more consistent with each other), despite how unlikely the error state is to occur.

@sheredom
Copy link
Owner

Seems like a good addition, I've kicked off CI!

@sheredom sheredom merged commit 0fd26e3 into sheredom:master Jul 27, 2023
49 checks passed
@tzarc tzarc deleted the scan-build_fixes branch July 31, 2023 04:43
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.

None yet

2 participants