Skip to content

Commit add8044

Browse files
committed
issue_warnings() has no business freeing its parameter, especially not when
its sole caller does that too. Jan Matousek, via Pavel Stehule
1 parent 7df4cf7 commit add8044

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

contrib/pg_upgrade/check.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ issue_warnings(migratorContext *ctx, char *sequence_script_file_name)
154154
ctx->new.bindir, ctx->new.port, sequence_script_file_name,
155155
ctx->logfile);
156156
unlink(sequence_script_file_name);
157-
pg_free(sequence_script_file_name);
158157
check_ok(ctx);
159158
}
160159

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