mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
[Issue #252] fix memory leak in process_block_change()
This commit is contained in:
@@ -2389,7 +2389,10 @@ process_block_change(ForkNumber forknum, RelFileNode rnode, BlockNumber blkno)
|
||||
pthread_mutex_unlock(&backup_pagemap_mutex);
|
||||
}
|
||||
|
||||
if (segno > 0)
|
||||
pg_free(f.rel_path);
|
||||
pg_free(rel_path);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user