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 several resource leaks #1435

Merged
merged 5 commits into from May 11, 2023
Merged

Fix several resource leaks #1435

merged 5 commits into from May 11, 2023

Conversation

hainest
Copy link
Contributor

@hainest hainest commented May 11, 2023

These were all found using cppcheck.

This was found using cppcheck's memleak.
Not technically a leak, but cppcheck can't see through the 'push_back'.
Found using cppcheck's danglingTemporaryLifetime.
Found using cppcheck's danglingTemporaryLifetime.
Found using cppcheck's publicAllocationError.
@hainest hainest added the bug label May 11, 2023
@hainest hainest requested a review from kupsch May 11, 2023 14:38
@hainest hainest self-assigned this May 11, 2023
@hainest hainest merged commit 44d86e5 into master May 11, 2023
2 checks passed
@hainest hainest deleted the fix_resource_leaks branch May 11, 2023 19:27
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.

None yet

2 participants