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 memory leak #59

Merged
merged 2 commits into from
Apr 12, 2017
Merged

Fix memory leak #59

merged 2 commits into from
Apr 12, 2017

Conversation

bruderstein
Copy link
Owner

Spotted by cppcheck via @chcg
As the map uses raw tstrings, they're copied anyway, so no need to do the pointer dance anyway.

Spotted by cppcheck via @chcg
As the map uses raw `tstring`s, they're copied anyway, so no need to do the pointer dance anyway.
TCHAR * is automatically converted to `tstring`, so we can do it in one step
@bruderstein bruderstein merged commit 7284919 into master Apr 12, 2017
@chcg chcg deleted the fix-mem-leak branch March 4, 2023 14:07
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.

1 participant