Module: kamailio
Branch: master
Commit: 8d7b9db5d3b290c9f180dac8610a61a7cee9d192
URL:
https://github.com/kamailio/kamailio/commit/8d7b9db5d3b290c9f180dac8610a61a…
Author: Charles Chance <charles.chance(a)sipcentric.com>
Committer: Charles Chance <charles.chance(a)sipcentric.com>
Date: 2015-01-09T14:20:07Z
pua_dialoginfo: do not free dlginfo_cell too early
- it is required later in the dialog callbacks
- it will be freed anyway during dialog destruction
---
Modified: modules/pua_dialoginfo/pua_dialoginfo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8d7b9db5d3b290c9f180dac8610a61a…
Patch:
https://github.com/kamailio/kamailio/commit/8d7b9db5d3b290c9f180dac8610a61a…
---
diff --git a/modules/pua_dialoginfo/pua_dialoginfo.c
b/modules/pua_dialoginfo/pua_dialoginfo.c
index 6761a72..7bed1998 100644
--- a/modules/pua_dialoginfo/pua_dialoginfo.c
+++ b/modules/pua_dialoginfo/pua_dialoginfo.c
@@ -598,7 +598,6 @@ __dialog_created(struct dlg_cell *dlg, int type, struct dlg_cb_params
*_params)
(include_req_uri)?&(dlg->req_uri):&(dlg->to_uri),
&(dlg->callid), 1, dlginfo->lifetime,
0, 0, 0, 0, (send_publish_flag==-1)?1:0);
- free_dlginfo_cell(dlginfo);
}