mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +03:00
Fixed some memory leaks in ECPG.
Patch by Michael Paquier
This commit is contained in:
@@ -437,11 +437,13 @@ remove_variable_from_list(struct arguments ** list, struct variable * var)
|
||||
void
|
||||
dump_variables(struct arguments * list, int mode)
|
||||
{
|
||||
char *str_zero = mm_strdup("0");
|
||||
char *str_zero;
|
||||
|
||||
if (list == NULL)
|
||||
return;
|
||||
|
||||
str_zero = mm_strdup("0");
|
||||
|
||||
/*
|
||||
* The list is build up from the beginning so lets first dump the end of
|
||||
* the list:
|
||||
|
Reference in New Issue
Block a user