diff options
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/connect.c')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/connect.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/ecpglib/connect.c b/src/interfaces/ecpg/ecpglib/connect.c index 4f361510c36..b4f6089c282 100644 --- a/src/interfaces/ecpg/ecpglib/connect.c +++ b/src/interfaces/ecpg/ecpglib/connect.c @@ -340,8 +340,6 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p return false; } - memset(this, 0, sizeof(struct connection)); - if (dbname != NULL) { /* get the detail information from dbname */ @@ -707,7 +705,6 @@ ECPGdisconnect(int lineno, const char *connection_name) struct connection *f = con; con = con->next; - ecpg_release_declared_statement(f->name); ecpg_finish(f); } } @@ -723,10 +720,7 @@ ECPGdisconnect(int lineno, const char *connection_name) return false; } else - { - ecpg_release_declared_statement(connection_name); ecpg_finish(con); - } } #ifdef ENABLE_THREAD_SAFETY |