pgsql: Release temporary array in check_for_data_types_usage().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Release temporary array in check_for_data_types_usage().
Date: 2024-03-24 16:31:55
Message-ID: E1roQlH-005RwK-9z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-03-24 18:30:40 pgsql: Allow more cases to pass the unsafe-use-of-new-enum-value restri
Previous Message Peter Eisentraut 2024-03-24 07:43:30 pgsql: ci: freebsd repartition script didn't copy .git directory