From 4baa267444069434109f680b3983ec909e14ae3f Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Sat, 27 Feb 2016 15:00:56 +0100 Subject: [PATCH] fix big bug in last commit --- tester/call_tester.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tester/call_tester.c b/tester/call_tester.c index f8f083a8b..2843cbd15 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -684,8 +684,10 @@ static void multiple_answers_call_with_media_relay(void) { BC_ASSERT_TRUE( wait_for_list(lcs, &marie2->stat.number_of_LinphoneCallEnd, 1, 4000) ); end_call(marie1, pauline); - - ms_list_free_with_data(lcs, (void (*)(void*))linphone_core_manager_destroy); + linphone_core_manager_destroy(pauline); + linphone_core_manager_destroy(marie1); + linphone_core_manager_destroy(marie2); + ms_list_free(lcs); } static void call_with_specified_codec_bitrate(void) {