mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-10 05:57:46 +08:00
Don't use address of array as boolean
Per buildfarm
This commit is contained in:
@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user