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

Commit477c7f4

Browse files
author
Sokolov Yura
committed
cfs.c: ... pfree on implicit short quit
1 parent85a069f commit477c7f4

File tree

1 file changed

+3
-0
lines changed
  • src/backend/storage/file

1 file changed

+3
-0
lines changed

‎src/backend/storage/file/cfs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,9 @@ static bool cfs_gc_file(char* map_path, GC_CALL_KIND background)
863863
if (pg_atomic_read_u32(&cfs_state->gc_disabled)!=0)
864864
{
865865
pg_atomic_fetch_sub_u32(&cfs_state->n_active_gc,1);
866+
pfree(file_path);
867+
pfree(map_bck_path);
868+
pfree(file_bck_path);
866869
return false;
867870
}
868871
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp