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

Fix FP memleak with outparam allocation (f'up to #12186) #5677

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

chrchr-github
Copy link
Collaborator

I wonder if it is worth trying to get this right. We also have FPs when the return value is assigned to a variable, and that seems much harder to fix.

@danmar
Copy link
Owner

danmar commented Nov 19, 2023

I wonder if it is worth trying to get this right. We also have FPs when the return value is assigned to a variable, and that seems much harder to fix.

I don't understand why it wouldn't be worth it. Does it cause technical problems? Or do you mean it's too much work?

Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

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

lgtm

@chrchr-github
Copy link
Collaborator Author

I wonder if it is worth trying to get this right. We also have FPs when the return value is assigned to a variable, and that seems much harder to fix.

I don't understand why it wouldn't be worth it. Does it cause technical problems? Or do you mean it's too much work?

The latter. There can e.g. be many variations of how a return value is checked.

@chrchr-github chrchr-github merged commit cd21918 into danmar:main Nov 19, 2023
68 checks passed
@chrchr-github chrchr-github deleted the chr_outparam branch November 19, 2023 19:00
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.

2 participants