From 8f8246f0b5e214b321d82127fa0e9cb139d7c815 Mon Sep 17 00:00:00 2001 From: Jooseok Song Date: Thu, 16 Mar 2017 12:20:42 +0900 Subject: [PATCH] Fix Savce Issue Change-Id: I3f92e5e12cb104626b9a4faa0e9ed160a7d0448a --- packaging/my-account.spec | 2 +- src/my-account-view-main.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/my-account.spec b/packaging/my-account.spec index cda6ab9..e550e93 100644 --- a/packaging/my-account.spec +++ b/packaging/my-account.spec @@ -2,7 +2,7 @@ Name: my-account-profile_wearable Summary: My account application -Version: 0.0.5 +Version: 0.0.6 Release: 0 Provides: my-account = %{version}-%{release} Group: main/devel diff --git a/src/my-account-view-main.c b/src/my-account-view-main.c index a950345..b092103 100644 --- a/src/my-account-view-main.c +++ b/src/my-account-view-main.c @@ -689,8 +689,10 @@ static bool __myaccount_get_account_app_info_cb(account_type_h account_type, voi return TRUE; } - if (ad == NULL) + if (ad == NULL) { + MA_MEM_FREE(app_info); return FALSE; + } ad->account_app_list = g_list_append(ad->account_app_list, (void*)app_info); -- 2.7.4