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 leak in change_list.cc #80

Merged

Conversation

peter-esik
Copy link
Contributor

An unfortunate regression I introduced here.

release plainly releases ownership without deleting the object, reset is the correct method to call in this case.

Sorry about the mistake, in the future I'll make sure to perform a leak check on my changes before opening a PR!

@twarit-waikar
Copy link
Contributor

Thanks for identifying this! Slipped in my review too...

@twarit-waikar twarit-waikar merged commit ef29468 into salesforce:master Jul 11, 2024
3 checks passed
@peter-esik peter-esik deleted the cv-crash-fix-memleak-fix branch July 19, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants