mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
issue_warnings() has no business freeing its parameter, especially not when
its sole caller does that too. Jan Matousek, via Pavel Stehule
This commit is contained in:
parent
7df4cf7fd3
commit
add8044778
@ -154,7 +154,6 @@ issue_warnings(migratorContext *ctx, char *sequence_script_file_name)
|
||||
ctx->new.bindir, ctx->new.port, sequence_script_file_name,
|
||||
ctx->logfile);
|
||||
unlink(sequence_script_file_name);
|
||||
pg_free(sequence_script_file_name);
|
||||
check_ok(ctx);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user