diff --git a/coreapi/call_params.c b/coreapi/call_params.c index 8ff2f2e56..7308d8abf 100644 --- a/coreapi/call_params.c +++ b/coreapi/call_params.c @@ -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) { diff --git a/mediastreamer2 b/mediastreamer2 index 27fc72b2d..202a3f574 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 27fc72b2dc288ed15db9802ab9978b2e82d53cf2 +Subproject commit 202a3f574f59c0160ebd76891ad4b06b7e361851 diff --git a/tester/call_tester.c b/tester/call_tester.c index 5e5e0fd08..789e86745 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -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 diff --git a/tester/common/bc_tester_utils.c b/tester/common/bc_tester_utils.c index 603a5786d..8342a25a1 100644 --- a/tester/common/bc_tester_utils.c +++ b/tester/common/bc_tester_utils.c @@ -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(); }