pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Release temporary array in check_for_data_types_usage().
Date: Sun, 24 Mar 2024 16:31:55 +0000
Message-ID: <E1roQlH-005RwK-9z@gemulon.postgresql.org> (raw)

Release temporary array in check_for_data_types_usage().

Coverity identified this as a resource leak.  It's surely of no
consequence given that the function is called only once per run, but
freeing the storage is no more work than dismissing the complaint.
Minor oversight in commit 347758b12.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/225e1dde463ae312714d71a929f45cfd153df2be

Modified Files
--------------
src/bin/pg_upgrade/check.c | 2 ++
1 file changed, 2 insertions(+)



view thread (2+ messages)

Message-ID: <E1roQlH-005RwK-9z@gemulon.postgresql.org>
Permalink:  ../E1roQlH-005RwK-9z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1roQlH-005RwK-9z@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Release temporary array in check_for_data_types_usage().
  In-Reply-To: <E1roQlH-005RwK-9z@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox