Browse code

tmx: use t_release_transaction for t_drop

lazedo authored on 05/03/2019 11:15:38
Showing 1 changed files
... ...
@@ -715,9 +715,7 @@ static int ki_t_drop_rcode(sip_msg_t* msg, int rcode)
715 715
 	}
716 716
 
717 717
 	t->uas.status = (unsigned int)rcode;
718
-	if(t_is_request_route(msg) == 1) {
719
-		_tmx_tmb.t_release(msg);
720
-	}
718
+	_tmx_tmb.t_release_transaction(t);
721 719
 	return 0;
722 720
 }
723 721