Re: beta testing - pg_upgrade bug fix - double free - Mailing list pgsql-hackers

From Tom Lane
Subject Re: beta testing - pg_upgrade bug fix - double free
Date
Msg-id 17198.1274633689@sss.pgh.pa.us
Whole thread Raw
In response to beta testing - pg_upgrade bug fix - double free  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> --- a/contrib/pg_upgrade/check.c
> +++ b/contrib/pg_upgrade/check.c
> @@ -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);
>                }

Done, thanks.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: beta testing - planner bug - ERROR: XX000: failed to build any 2-way joins
Next
From: Robert Haas
Date:
Subject: Re: mapping object names to role IDs