Module: kamailio
Branch: master
Commit: 1ca82c1ab3412ae1572f12d81a92bb76abbdb4ad
URL:
https://github.com/kamailio/kamailio/commit/1ca82c1ab3412ae1572f12d81a92bb7…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: Henning Westerholt <henningw(a)users.noreply.github.com>
Date: 2019-03-09T12:52:43+01:00
tmx: use t_release_transaction for t_drop
---
Modified: src/modules/tmx/tmx_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1ca82c1ab3412ae1572f12d81a92bb7…
Patch:
https://github.com/kamailio/kamailio/commit/1ca82c1ab3412ae1572f12d81a92bb7…
---
diff --git a/src/modules/tmx/tmx_mod.c b/src/modules/tmx/tmx_mod.c
index 1dc22f4f27..a6155f25b1 100644
--- a/src/modules/tmx/tmx_mod.c
+++ b/src/modules/tmx/tmx_mod.c
@@ -715,9 +715,7 @@ static int ki_t_drop_rcode(sip_msg_t* msg, int rcode)
}
t->uas.status = (unsigned int)rcode;
- if(t_is_request_route(msg) == 1) {
- _tmx_tmb.t_release(msg);
- }
+ _tmx_tmb.t_release_transaction(t);
return 0;
}