Commit bacf3bbc authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug with SalMediaDescription not ref'd

parent 6d7bf231
......@@ -227,8 +227,11 @@ static void call_updated(SalOp *op){
if (call->resultdesc)
sal_media_description_unref(call->resultdesc);
call->resultdesc=sal_call_get_final_media_description(op);
if (call->resultdesc && !sal_media_description_empty(call->resultdesc)){
linphone_connect_incoming(lc,call);
if (call->resultdesc){
sal_media_description_ref(call->resultdesc);
if (sal_media_description_empty(call->resultdesc)){
linphone_connect_incoming(lc,call);
}
}
}
......
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