Skip to content
Permalink
Browse files

b2b_entities: don't unref UNDEFINED tm

Close #1629
  • Loading branch information
razvancrainea committed Mar 7, 2019
1 parent dc422ea commit e6f181e26129cf1ad64071723c0c2456bac60bb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/b2b_entities/dlg.c
@@ -603,7 +603,7 @@ int b2b_prescript_f(struct sip_msg *msg, void *uparam)
/* send 200 OK and exit */
tmb.t_reply(msg, 200, &reason);
tm_tran = tmb.t_gett();
if(tm_tran)
if(tm_tran && tm_tran!=T_UNDEFINED)
tmb.unref_cell(tm_tran);

/* No need to apply lumps */

0 comments on commit e6f181e

Please sign in to comment.
You can’t perform that action at this time.