Skip to content

Commit

Permalink
dialog: no need to release the dialog when refreshing cseq
Browse files Browse the repository at this point in the history
- no direct reference was triggered inside the function
  • Loading branch information
miconda committed Sep 28, 2016
1 parent 0965c90 commit 3f9969d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/dialog/dlg_cseq.c
Expand Up @@ -247,11 +247,9 @@ int dlg_cseq_refresh(sip_msg_t *msg, dlg_cell_t *dlg,
sr_hdr_add_zs(msg, "P-K-CSeq-Refresh", &nval);

done:
if(dlg!=NULL) dlg_release(dlg);
return 0;

error:
if(dlg!=NULL) dlg_release(dlg);
return -1;
}

Expand Down

0 comments on commit 3f9969d

Please sign in to comment.