mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix memory leaks
This commit is contained in:
parent
aadad2dde3
commit
ba100f073f
4 changed files with 6 additions and 4 deletions
|
|
@ -270,6 +270,7 @@ bool_t linphone_call_params_video_multicast_enabled(const LinphoneCallParams *pa
|
|||
static void _linphone_call_params_destroy(LinphoneCallParams *cp){
|
||||
if (cp->record_file) ms_free(cp->record_file);
|
||||
if (cp->custom_headers) sal_custom_header_free(cp->custom_headers);
|
||||
if (cp->session_name) ms_free(cp->session_name);
|
||||
}
|
||||
|
||||
LinphoneCallParams * linphone_call_params_new(void) {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 27fc72b2dc288ed15db9802ab9978b2e82d53cf2
|
||||
Subproject commit 202a3f574f59c0160ebd76891ad4b06b7e361851
|
||||
|
|
@ -3476,12 +3476,13 @@ void two_accepted_call_in_send_only() {
|
|||
reset_counters(&marie->stat);
|
||||
accept_call_in_send_only_base(laure,marie,lcs);
|
||||
|
||||
end_call(marie,pauline);
|
||||
end_call(laure,marie);
|
||||
end_call(pauline, marie);
|
||||
end_call(laure, marie);
|
||||
|
||||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline);
|
||||
linphone_core_manager_destroy(laure);
|
||||
ms_list_free(lcs);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ static void test_complete_message_handler(const CU_pTest pTest, const CU_pSuite
|
|||
}
|
||||
|
||||
bc_tester_printf(bc_printf_verbosity_info,"%s", result);
|
||||
|
||||
free(result);
|
||||
if (test_suite[suite_index]->after_each) {
|
||||
test_suite[suite_index]->after_each();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue