Browse Source

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

- Fixes crash when freeing memory
Hugh Waite 12 years ago
parent
commit
62860094af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/tm/t_fwd.c

+ 1 - 0
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