Skip to content

Commit

Permalink
[C] Fix dangling pointer in replay merge. (real-logic#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoskvin authored and DarrylGamroth committed Jan 22, 2025
1 parent 9f9d284 commit c1307db
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 c1307db

Please sign in to comment.