Skip to content

Commit

Permalink
dialog: initialize dst_leg before getting dlg
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed May 16, 2019
1 parent 130e704 commit fb20eed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/dialog/dlg_replication.c
Expand Up @@ -516,6 +516,7 @@ int dlg_replicated_cseq_updated(bin_packet_t *packet)

LM_DBG("Updating cseq for dialog with callid: %.*s\n", call_id.len, call_id.s);

dst_leg = -1;
dlg = get_dlg(&call_id, &from_tag, &to_tag, &dir, &dst_leg);
if (!dlg) {
/* may be already deleted due to timeout */
Expand Down

0 comments on commit fb20eed

Please sign in to comment.