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:
parent
fc2d260c7e
commit
225e1dde46
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user