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

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 (view raw or flat)
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

pgsql-odbc by date

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

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