Skip to content

4231 postgre sql leaks memory for failed connections#4239

Merged
aleks-f merged 5 commits intodevelfrom
4231-PostgreSQL-leaks-memory-for-failed-connections
Nov 10, 2023
Merged

4231 postgre sql leaks memory for failed connections#4239
aleks-f merged 5 commits intodevelfrom
4231-PostgreSQL-leaks-memory-for-failed-connections

Conversation

@frwilckens
Copy link
Copy Markdown
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.

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