diff options
author | Michael Meskes <meskes@postgresql.org> | 2006-11-08 10:48:27 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2006-11-08 10:48:27 +0000 |
commit | a2281c8e6f5ffe4fa67584f850bfa077e526115e (patch) | |
tree | 0226f548fa513c339b2a360cd0f2fb9340474ac1 | |
parent | b3234f2912191ca5c214b850b52d0db09b7b6622 (diff) | |
download | postgresql-a2281c8e6f5ffe4fa67584f850bfa077e526115e.tar.gz postgresql-a2281c8e6f5ffe4fa67584f850bfa077e526115e.zip |
Applied patch by Peter Harris to free auto_mem struct in ECPGconnect.
-rw-r--r-- | src/interfaces/ecpg/ecpglib/connect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/connect.c b/src/interfaces/ecpg/ecpglib/connect.c index 6f3a8ed10b8..8d1f285e244 100644 --- a/src/interfaces/ecpg/ecpglib/connect.c +++ b/src/interfaces/ecpg/ecpglib/connect.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.26.2.4 2006/06/21 11:38:26 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.26.2.5 2006/11/08 10:48:27 meskes Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -277,6 +277,8 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p ECPGinit_sqlca(sqlca); + ECPGclear_auto_mem(); + if (INFORMIX_MODE(compat)) { char *envname; |