mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Don't use address of array as boolean
Per buildfarm
This commit is contained in:
parent
6260cc550b
commit
dacadcd1f3
@ -4267,9 +4267,8 @@ free_command(Command *command)
|
||||
termPQExpBuffer(&command->lines);
|
||||
if (command->first_line)
|
||||
pg_free(command->first_line);
|
||||
if (command->argv)
|
||||
for (int i = 0; i < command->argc; i++)
|
||||
pg_free(command->argv[i]);
|
||||
for (int i = 0; i < command->argc; i++)
|
||||
pg_free(command->argv[i]);
|
||||
if (command->varprefix)
|
||||
{
|
||||
for (int i = 0; i < command->varprefix_max; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user