From fe2e927642fb60086d6f5ca52ca8746d0bc1f5e8 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 5 Jun 2014 20:52:05 +0200 Subject: [PATCH] fix memleak --- tester/call_tester.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tester/call_tester.c b/tester/call_tester.c index 7e2617ca3..bede109ed 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -967,6 +967,9 @@ static void video_call_base(LinphoneCoreManager* pauline,LinphoneCoreManager* ma CU_ASSERT_TRUE(call_with_params(pauline,marie,caller_params,callee_params)); marie_call=linphone_core_get_current_call(marie->lc); pauline_call=linphone_core_get_current_call(pauline->lc); + + linphone_call_params_destroy(caller_params); + linphone_call_params_destroy(callee_params); if (marie_call && pauline_call ) { CU_ASSERT_TRUE(linphone_call_log_video_enabled(linphone_call_get_call_log(marie_call)));