PGSQL: Ignoring SSL leaks

git-svn-id: svn://ultimatepp.org/upp/trunk@5236 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-07-27 13:58:39 +00:00
parent 327d0f6dc3
commit 362fbe9915

View file

@ -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");