Skip to content

Commit 21abadf

Browse files
committed
Fix broken in f26c959 tests.config.ConfigTest.test_corrupt_backup_content
1 parent da5eb96 commit 21abadf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/catalog.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,9 @@ get_backup_filelist(pgBackup *backup, bool strict)
11441144
{
11451145
elog(WARNING, "Invalid CRC of backup control file '%s': %u. Expected: %u",
11461146
backup_filelist_path, content_crc, backup->content_crc);
1147-
return NULL;
1147+
parray_free(files);
1148+
files = NULL;
1149+
11481150
}
11491151

11501152
/* redundant sanity? */

0 commit comments

Comments
 (0)