postgres.git / summary / log / commit / refs
commit a2281c8e6f5ffe4fa67584f850bfa077e526115e
Author: Michael Meskes <meskes@postgresql.org>
Date: Wed Nov 08 10:48:27 2006 +0000
First released in: 8.0.10, 8.1.6
Applied patch by Peter Harris to free auto_mem struct in ECPGconnect.
src/interfaces/ecpg/ecpglib/connect.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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;
[parent: b3234f291219]