Skip to content

Commit

Permalink
[C] Fix dangling pointer in replay merge. (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoskvin authored Jan 17, 2025
1 parent bd230f7 commit 3617dd4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ static int aeron_archive_replay_merge_handle_async_destination(aeron_archive_rep
}
else if (rc < 0)
{
replay_merge->async_destination = NULL;
AERON_APPEND_ERR("%s", "");
return -1;
}
Expand Down

0 comments on commit 3617dd4

Please sign in to comment.