Memory Leak when freeing statement

From: Kelly Burkhart <kelly(at)tradebotsystems(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Memory Leak when freeing statement
Date: 2005-03-24 18:52:12
Message-ID: 1111690332.26601.206.camel@krb06
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I have found a memory leak when freeing a statement handle which has had
parameters bound in psqlodbc-08.00.0101. I was able to eliminate the
leak by adding:

SC_free_params(self, STMT_FREE_PARAMS_ALL);

to line 330 of statement.c in the SC_Destructor method. I'm not
familiar enough with the code to know if this is a sensible fix.

-K

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Nishad Prakash 2005-03-24 20:19:15 Compiling psqlodbc on Solaris
Previous Message Merlin Moncure 2005-03-24 16:03:57 Re: [INTERFACES] MS Access as front-end, migration from MSDE to POstgreSQL?