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

More analyzer fixes 2 #3016

Merged
merged 4 commits into from
Aug 28, 2023
Merged

Conversation

cgwalters
Copy link
Member

lib/repo-finder: Squash memory leak

We want to free this value on each iteration; it's moved below
if the value is used.


pull: Add assertions to quiet clang-analyzer

It's warning the value can be NULL, but I don't think that's true.
I believe we're just hitting analysis limit (the path length is 119).


commit: Quiet clang-analyzer warning

This is just another instance of the "conditionally owned"
pattern.


pull: Quiet clang-analyzer warning

Just used for side-effects.


We want to free this value on each iteration; it's moved below
if the value is used.
It's warning the value can be NULL, but I don't think that's true.
I believe we're just hitting analysis limit (the path length is 119).
This is just another instance of the "conditionally owned"
pattern.
Just used for side-effects.
Copy link
Collaborator

@ericcurtin ericcurtin left a comment

Choose a reason for hiding this comment

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

LGTM

@cgwalters
Copy link
Member Author

/retest

@cgwalters cgwalters merged commit 3acdbac into ostreedev:main Aug 28, 2023
24 checks passed
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