Re: Fixing memory leak in pg_upgrade - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fixing memory leak in pg_upgrade
Date
Msg-id 7341.1420821264@sss.pgh.pa.us
Whole thread Raw
In response to Fixing memory leak in pg_upgrade  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: Fixing memory leak in pg_upgrade
List pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> According to Coverity, there's a memory leak bug in transfer_all_new_dbs().

It's pretty difficult to get excited about that; how many table-free
databases is pg_upgrade likely to see in one run?  But surely we could
just move the pg_free call to after the if-block.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Improving RLS qual pushdown
Next
From: Andrew Dunstan
Date:
Subject: Re: Patch: [BUGS] BUG #12320: json parsing with embedded double quotes