mirror of
https://github.com/postgres/postgres.git
synced 2026-03-29 13:53:46 -04:00
Don't use address of array as boolean
Per buildfarm
This commit is contained in:
parent
6260cc550b
commit
dacadcd1f3
1 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue