From 665e627c10da148397ebc49fb2517be0a5639a2d Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 21 Feb 2014 14:13:59 +0100 Subject: [PATCH] Fix memory leak --- tester/call_tester.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tester/call_tester.c b/tester/call_tester.c index 8e4f80771..5f6540ad9 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -1493,6 +1493,8 @@ static void call_redirect(void){ CU_ASSERT_TRUE(wait_for_list(lcs,&laure->stat.number_of_LinphoneCallEnd,1,1000)); CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneCallEnd,1,1000)); + ms_list_free(lcs); + linphone_core_manager_destroy(marie); linphone_core_manager_destroy(pauline); linphone_core_manager_destroy(laure);