1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-09-16 09:26:30 +02:00

Fix SIGSEGV in write_backup_status

This commit is contained in:
Konstantin Knizhnik
2019-01-24 14:36:50 +03:00
parent ab94800fab
commit df120095b1

View File

@@ -230,11 +230,13 @@ write_backup_status(pgBackup *backup)
pgBackup *tmp;
tmp = read_backup(backup->start_time);
if (tmp != NULL)
{
tmp->status = backup->status;
write_backup(tmp);
pgBackupFree(tmp);
}
}
/*