From 16e00ee9e99c6f5f73c7f1f9c8834bc13b29e624 Mon Sep 17 00:00:00 2001 From: Hyihong Chae Date: Tue, 24 May 2016 15:16:44 +0900 Subject: [PATCH] fix memory leak issue using valgrind tool. Change-Id: Ie79ffee30375864282b54225b56bce5c11328c8b Signed-off-by: HyiHong Chae --- UICCTerminal.cpp | 1 + packaging/smartcard-plugin-uicc.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 UICCTerminal.cpp diff --git a/UICCTerminal.cpp b/UICCTerminal.cpp old mode 100644 new mode 100755 index 8986167..998a6ab --- a/UICCTerminal.cpp +++ b/UICCTerminal.cpp @@ -160,6 +160,7 @@ static void _uiccCallback_sync(TapiHandle *handle, int result, context->resp = data; g_main_loop_quit(context->loop); + g_main_loop_unref(context->loop); } namespace smartcard_service_api diff --git a/packaging/smartcard-plugin-uicc.spec b/packaging/smartcard-plugin-uicc.spec index da05e8e..df39ab3 100755 --- a/packaging/smartcard-plugin-uicc.spec +++ b/packaging/smartcard-plugin-uicc.spec @@ -1,6 +1,6 @@ Name: smartcard-plugin-uicc Summary: Smartcard plugin uicc -Version: 0.0.10 +Version: 0.0.11 Release: 0 Group: libs License: Apache-2.0 -- 2.34.1