Commit add80447 authored by Tom Lane's avatar Tom Lane

issue_warnings() has no business freeing its parameter, especially not when

its sole caller does that too.  Jan Matousek, via Pavel Stehule
parent 7df4cf7f
...@@ -154,7 +154,6 @@ issue_warnings(migratorContext *ctx, char *sequence_script_file_name) ...@@ -154,7 +154,6 @@ issue_warnings(migratorContext *ctx, char *sequence_script_file_name)
ctx->new.bindir, ctx->new.port, sequence_script_file_name, ctx->new.bindir, ctx->new.port, sequence_script_file_name,
ctx->logfile); ctx->logfile);
unlink(sequence_script_file_name); unlink(sequence_script_file_name);
pg_free(sequence_script_file_name);
check_ok(ctx); check_ok(ctx);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment