ECPG memory leak detected

Christof Petig <christof.petig@wtal.de>

From: Christof Petig <christof.petig@wtal.de>
To: pgsql-bugs@postgresql.org
Cc: Michael Meskes <meskes@postgresql.org>
Date: 1999-12-03T08:58:42Z
Lists: pgsql-bugs
Hi,

I observed a memory leak in one of my applications (grew about 20MB a
day) and pinned it down to be
ECPG related.

The path is:
ecpg_alloc
quote_postgres
ECPGexecute
ECPGdo

PostgreSQL Version 7.0 (about 24th November's CVS)
This leak was at least present for two months.

Christof

If you have a direct idea on how to fix it, drop me a mail otherwise
I'll (try to) fix it myself (about next week). It's not fatal, it's
simply annoying.

PS: Program used for this analysis: memprof (part of gnome) (Version
0.3.0)