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

4231 postgre sql leaks memory for failed connections #4239

Merged
merged 5 commits into from
Nov 10, 2023

Conversation

frwilckens
Copy link
Member

This should fix #4231. I added a test case that provokes a failed connection attempt. The test case checks that an exception is raised. It's hard to test that there is no memory leak, but at least the test case verifies that the added code is executed without problems.

@frwilckens frwilckens added this to the Release 1.13.0 milestone Nov 9, 2023
@aleks-f aleks-f merged commit 9e90fcb into devel Nov 10, 2023
22 of 32 checks passed
@aleks-f aleks-f deleted the 4231-PostgreSQL-leaks-memory-for-failed-connections branch November 10, 2023 11:51
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.

Poco::Data::PostgreSQL::SessionHandle::disconnect() leaks memory for failed connections
2 participants