fix rare crash in sal

update oRTP
This commit is contained in:
Simon Morlat 2014-01-28 21:22:28 +01:00
parent 290671fb54
commit b999c757fc
2 changed files with 6 additions and 5 deletions

View file

@ -146,11 +146,12 @@ void sal_process_authentication(SalOp *op) {
belle_sip_object_unref(new_request);
}
if (op->auth_info) sal_auth_info_delete(op->auth_info);
auth_event=(belle_sip_auth_event_t*)(auth_list->data);
op->auth_info=sal_auth_info_create(auth_event);
belle_sip_list_free_with_data(auth_list,(void (*)(void*))belle_sip_auth_event_destroy);
if (auth_list){
auth_event=(belle_sip_auth_event_t*)(auth_list->data);
op->auth_info=sal_auth_info_create(auth_event);
belle_sip_list_free_with_data(auth_list,(void (*)(void*))belle_sip_auth_event_destroy);
}
}
}
static void process_dialog_terminated(void *sal, const belle_sip_dialog_terminated_event_t *event){

2
oRTP

@ -1 +1 @@
Subproject commit 590ab1ace7528349344379851dff3c18585adb5e
Subproject commit 86b33ede9a083df63a9f999d9da9235b31b07413