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.
This commit is contained in:
Tom Lane 2024-03-24 12:13:35 -04:00
parent fc2d260c7e
commit 225e1dde46
1 changed files with 2 additions and 0 deletions

View File

@ -521,6 +521,8 @@ check_for_data_types_usage(ClusterInfo *cluster, DataTypesUsageChecks * checks)
if (found)
pg_fatal("Data type checks failed: %s", report.data);
pg_free(results);
check_ok();
}