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 ab94800 commit df12009Copy full SHA for df12009
src/catalog.c
@@ -230,11 +230,13 @@ write_backup_status(pgBackup *backup)
230
pgBackup *tmp;
231
232
tmp = read_backup(backup->start_time);
233
+ if (tmp != NULL)
234
+ {
235
+ tmp->status = backup->status;
236
+ write_backup(tmp);
237
- tmp->status = backup->status;
- write_backup(tmp);
-
- pgBackupFree(tmp);
238
+ pgBackupFree(tmp);
239
+ }
240
}
241
242
/*
0 commit comments