소스 검색

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
Charles Chance 10 년 전
부모
커밋
8d7b9db5d3
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      modules/pua_dialoginfo/pua_dialoginfo.c

+ 0 - 1
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);
 
 }