fix memory leak

This commit is contained in:
Simon Morlat 2017-01-16 16:07:08 +01:00
parent 09627fe956
commit ed17954707
3 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit dcfd617bf70a131d9090d1d410f909a7a9cfadb0
Subproject commit 07d69113f6e19a2f72ebfe99f5c2af3e7b7e5f2a

2
oRTP

@ -1 +1 @@
Subproject commit 155f0c85cd659222e97b59b4bb7e0b036370f081
Subproject commit d98a04c13d0a670f77daeb9f7cc97d5d30cc713d

View file

@ -2899,6 +2899,7 @@ static void call_rejected_because_wrong_credentials_with_params(const char* user
((VTableReference*)(marie->lc->vtable_refs->data))->cbs->vtable->auth_info_requested=NULL;
linphone_core_add_auth_info(marie->lc,wrong_auth_info);
}
BC_ASSERT_PTR_NOT_NULL(linphone_core_invite_address(marie->lc,marie->identity));
@ -2918,6 +2919,7 @@ static void call_rejected_because_wrong_credentials_with_params(const char* user
linphone_core_clear_all_auth_info(marie->lc);
linphone_core_add_auth_info(marie->lc,good_auth_info);
linphone_auth_info_destroy(good_auth_info);
linphone_auth_info_destroy(wrong_auth_info);
linphone_core_manager_destroy(marie);
}