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 typo that leads to the use of freed memory #4836

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

peter15914
Copy link
Contributor

The old message errorMsg_ must be freed before assignment to errorMsg_.
However, due to a typo, free() was called for the new message errorMsg.

@peter15914 peter15914 marked this pull request as ready for review January 2, 2025 23:38
@matejk matejk added this to the Release 1.14.1 milestone Jan 5, 2025
@matejk matejk added the bug label Jan 5, 2025
@matejk matejk merged commit 79888c0 into pocoproject:main Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants