Skip site navigation (1) Skip section navigation (2)

Re: Memory Leak ?

From: zhaoxin <zhaox(at)necas(dot)nec(dot)com(dot)cn>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Memory Leak ?
Date: 2006-06-16 01:22:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
TO:Hiroshi Inoue

>>> Could you try the dll at
>>> ?
>>> Recently I found a memory leak in some combination of connection
>>> options.
>> I have tested the driver downloaded from this link .
>> but memory leak seems still exist .
> Could you tell me your connection string ?

My connection string is like this (with ODBC default settings):

  SQLAllocHandle (SQL_HANDLE_ENV, NULL, &henv);


  SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);


  SQLConnect(hdbc,(SQLCHAR*)szDSN, (SQLSMALLINT)strlen(szDSN),
	    (SQLCHAR*)szUID, (SQLSMALLINT)strlen(szUID),
	    (SQLCHAR*)szAuthStr, (SQLSMALLINT)strlen(szAuthStr));

  SQLAllocHandle(SQL_HANDLE_STMT, hdbc, &hstmt);

In response to


pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2006-06-16 02:45:42
Subject: Re: Memory Leak ?
Previous:From: Tony CadutoDate: 2006-06-15 18:52:47
Subject: Re: case sensitivity on table & column names / workaround?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group