Module: sip-router
Branch: master
Commit: 62860094af838710ee5b9892cfb9f99f615055f6
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=62860094af838710ee5b9892cfb9f99f615055f6

Author: Hugh Waite <[email protected]>
Committer: Hugh Waite <[email protected]>
Date:   Mon Oct  7 10:01:56 2013 +0100

tm: Restore ruid value in sip_msg struct after creating transactions from 
branches

- Fixes crash when freeing memory

---

 modules/tm/t_fwd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/tm/t_fwd.c b/modules/tm/t_fwd.c
index 0fb4be3..af4952b 100644
--- a/modules/tm/t_fwd.c
+++ b/modules/tm/t_fwd.c
@@ -630,6 +630,7 @@ error03:
        i_req->parsed_uri_ok=parsed_uri_ok_bak;
        i_req->path_vec=path_bak;
        i_req->instance=instance_bak;
+       i_req->ruid=ruid_bak;
        i_req->location_ua=ua_bak;
        
        /* Delete the duplicated lump lists, this will also delete


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to