mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
PGSQL: Ignoring SSL leaks
git-svn-id: svn://ultimatepp.org/upp/trunk@5236 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
327d0f6dc3
commit
362fbe9915
1 changed files with 7 additions and 1 deletions
|
|
@ -349,7 +349,13 @@ bool PostgreSQLSession::Open(const char *connect)
|
|||
{
|
||||
Close();
|
||||
conns = connect;
|
||||
conn = PQconnectdb(connect);
|
||||
|
||||
{
|
||||
MemoryIgnoreLeaksBlock __;
|
||||
// PGSQL, when sharing .dll SSL, does not free SSL data
|
||||
conn = PQconnectdb(connect);
|
||||
}
|
||||
|
||||
if(PQstatus(conn) != CONNECTION_OK)
|
||||
{
|
||||
SetError(FromSystemCharset(PQerrorMessage(conn)), "Opening database");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue