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

Commit56e0933

Browse files
committed
[Issue#252] fix memory leak in process_block_change()
1 parentd67fe9c commit56e0933

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backup.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,7 +2389,10 @@ process_block_change(ForkNumber forknum, RelFileNode rnode, BlockNumber blkno)
23892389
pthread_mutex_unlock(&backup_pagemap_mutex);
23902390
}
23912391

2392+
if (segno>0)
2393+
pg_free(f.rel_path);
23922394
pg_free(rel_path);
2395+
23932396
}
23942397

23952398
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp