Skip to content

Commit

Permalink
[pgmoneta#168] delect_wal_older_than should return before entering er…
Browse files Browse the repository at this point in the history
…ror section
  • Loading branch information
Jubilee101 committed Dec 13, 2023
1 parent 89d70c9 commit 1ea16ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libpgmoneta/delete.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ delete_wal_older_than(char* srv_wal, char* base, int backup_index)
}
free(wal_files);

return;

error:
for (int i = 0; i < number_of_wal_files; i++)
{
Expand Down

0 comments on commit 1ea16ca

Please sign in to comment.