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

Re: Memory Leak when freeing statement

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kelly Burkhart <kelly(at)tradebotsystems(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Memory Leak when freeing statement
Date: 2005-03-30 18:06:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
Kelly Burkhart wrote:
> 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.

Can you provide an example program that shows the memory leak?

Peter Eisentraut

In response to


pgsql-odbc by date

Next:From: Peter EisentrautDate: 2005-03-30 18:08:16
Subject: Re: psqlODBC 'ERROR: invalid input syntax for integer: =?iso-8859-1?q?A=02?='
Previous:From: Peter EisentrautDate: 2005-03-30 18:02:18
Subject: Re: 32-bit ints on 64-bit linux

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