Commit 7974621b authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix crash since remote params now need to take a reference on the custom headers.

parent 04f3bbc2
......@@ -1133,7 +1133,7 @@ const LinphoneCallParams * linphone_call_get_remote_params(LinphoneCall *call){
}
if (md->name[0]!='\0') linphone_call_params_set_session_name(cp,md->name);
}
cp->custom_headers=(SalCustomHeader*)sal_op_get_recv_custom_header(call->op);
cp->custom_headers=sal_custom_header_clone((SalCustomHeader*)sal_op_get_recv_custom_header(call->op));
return cp;
}
return NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment