pgsql: Release temporary array in check_for_data_types_usage(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Release temporary array in check_for_data_types_usage().
Date
Msg-id E1roQlH-005RwK-9z@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

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