diff --git a/coreapi/bellesip_sal/sal_impl.c b/coreapi/bellesip_sal/sal_impl.c index f15b07ffb..ffabcc1e4 100644 --- a/coreapi/bellesip_sal/sal_impl.c +++ b/coreapi/bellesip_sal/sal_impl.c @@ -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){ diff --git a/oRTP b/oRTP index 590ab1ace..86b33ede9 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit 590ab1ace7528349344379851dff3c18585adb5e +Subproject commit 86b33ede9a083df63a9f999d9da9235b31b07413