|
|
@ -158,6 +158,7 @@ output_statement(char *stmt, int whenever_mode, enum ECPG_statement_type st) |
|
|
|
free(stmt); |
|
|
|
free(stmt); |
|
|
|
if (connection != NULL) |
|
|
|
if (connection != NULL) |
|
|
|
free(connection); |
|
|
|
free(connection); |
|
|
|
|
|
|
|
connection = NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
@ -172,6 +173,7 @@ output_prepare_statement(char *name, char *stmt) |
|
|
|
free(name); |
|
|
|
free(name); |
|
|
|
if (connection != NULL) |
|
|
|
if (connection != NULL) |
|
|
|
free(connection); |
|
|
|
free(connection); |
|
|
|
|
|
|
|
connection = NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
@ -192,6 +194,7 @@ output_deallocate_prepare_statement(char *name) |
|
|
|
free(name); |
|
|
|
free(name); |
|
|
|
if (connection != NULL) |
|
|
|
if (connection != NULL) |
|
|
|
free(connection); |
|
|
|
free(connection); |
|
|
|
|
|
|
|
connection = NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
static void |
|
|
|