Skip to content

Commit dacadcd

Browse files
committed
Don't use address of array as boolean
Per buildfarm
1 parent 6260cc5 commit dacadcd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin/pgbench/pgbench.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4267,9 +4267,8 @@ free_command(Command *command)
42674267
termPQExpBuffer(&command->lines);
42684268
if (command->first_line)
42694269
pg_free(command->first_line);
4270-
if (command->argv)
4271-
for (int i = 0; i < command->argc; i++)
4272-
pg_free(command->argv[i]);
4270+
for (int i = 0; i < command->argc; i++)
4271+
pg_free(command->argv[i]);
42734272
if (command->varprefix)
42744273
{
42754274
for (int i = 0; i < command->varprefix_max; i++)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy