Skip to content

Fix memory leak#59

Merged
bruderstein merged 2 commits intomasterfrom
fix-mem-leak
Apr 12, 2017
Merged

Fix memory leak#59
bruderstein merged 2 commits intomasterfrom
fix-mem-leak

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