We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db1edf commit e4c4565Copy full SHA for e4c4565
src/backend/storage/file/cfs.c
@@ -1303,9 +1303,6 @@ static bool cfs_gc_file(char* map_path, GC_CALL_KIND background)
1303
secs2*USECS_PER_SEC + usecs2);
1304
}
1305
1306
- pfree(file_path);
1307
- pfree(file_bck_path);
1308
- pfree(map_bck_path);
1309
pfree(inodes);
1310
pfree(newMap);
1311
@@ -1328,6 +1325,9 @@ static bool cfs_gc_file(char* map_path, GC_CALL_KIND background)
1328
1325
1329
1326
1330
1327
FinishGC:
+ pfree(file_path);
+ pfree(file_bck_path);
+ pfree(map_bck_path);
1331
if (background == CFS_BACKGROUND)
1332
{
1333
LWLockRelease(CfsGcLock);
0 commit comments