Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit225e1dd

Browse files
committed
Release temporary array in check_for_data_types_usage().
Coverity identified this as a resource leak. It's surely of noconsequence given that the function is called only once per run, butfreeing the storage is no more work than dismissing the complaint.Minor oversight in commit347758b.
1 parentfc2d260 commit225e1dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/bin/pg_upgrade/check.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ check_for_data_types_usage(ClusterInfo *cluster, DataTypesUsageChecks * checks)
521521
if (found)
522522
pg_fatal("Data type checks failed: %s",report.data);
523523

524+
pg_free(results);
525+
524526
check_ok();
525527
}
526528

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp