projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3234f2
)
Applied patch by Peter Harris to free auto_mem struct in ECPGconnect.
author
Michael Meskes
<
[email protected]
>
Wed, 8 Nov 2006 10:48:27 +0000
(10:48 +0000)
committer
Michael Meskes
<
[email protected]
>
Wed, 8 Nov 2006 10:48:27 +0000
(10:48 +0000)
src/interfaces/ecpg/ecpglib/connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/ecpglib/connect.c
b/src/interfaces/ecpg/ecpglib/connect.c
index 6f3a8ed10b8dacecab8c41fe8283b2b103a47e1a..8d1f285e244888eaff2f019fa14b45da1b9f4138 100644
(file)
--- 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;