mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@@ -121,8 +121,8 @@ free_argument(struct arguments *arg)
|
||||
free_argument(arg->next);
|
||||
|
||||
/*
|
||||
* Don't free variables in it because the original codes don't free it either
|
||||
* variables are static structures instead of allocating
|
||||
* Don't free variables in it because the original codes don't free it
|
||||
* either variables are static structures instead of allocating
|
||||
*/
|
||||
free(arg);
|
||||
}
|
||||
@@ -520,13 +520,13 @@ main(int argc, char *const argv[])
|
||||
free(input_filename);
|
||||
}
|
||||
|
||||
if(g_declared_list)
|
||||
if (g_declared_list)
|
||||
{
|
||||
free_declared_stmt(g_declared_list);
|
||||
g_declared_list = NULL;
|
||||
}
|
||||
|
||||
if(cur)
|
||||
if (cur)
|
||||
{
|
||||
free_cursor(cur);
|
||||
cur = NULL;
|
||||
|
Reference in New Issue
Block a user