Content-Length: 264729 | pFad | http://github.com/postgrespro/postgres_cluster/commit/dacadcd1f32873d930b3953d3055dc7cb9548e48

0C Don't use address of array as boolean · postgrespro/postgres_cluster@dacadcd · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/dacadcd1f32873d930b3953d3055dc7cb9548e48

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy