Fix bug in removing app_info list when get agent dead signal. 81/35981/2 accepted/tizen/mobile/20150313.083937 accepted/tizen/tv/20150302.010500 accepted/tizen/tv/20150313.083819 accepted/tizen/wearable/20150313.083850 submit/tizen/20150304.022845 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150227.073215 submit/tizen_tv/20150228.021455 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842
authorJiwoong Im <jiwoong.im@samsung.com>
Fri, 27 Feb 2015 05:14:20 +0000 (14:14 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Fri, 27 Feb 2015 05:48:03 +0000 (14:48 +0900)
JIRA ticket : TC-2419

Change-Id: Id795cd024a1076ad87f48dd55a4c777aeb0a5809
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
am_daemon/amd_main.c
am_daemon/amd_status.c

index bbc62fd..0515635 100644 (file)
@@ -108,9 +108,9 @@ static int __remove_item_running_list_with_uid(uid_t user)
                if (user == info_t->user) {
                        r_app_info_list = g_slist_remove(r_app_info_list, info_t);
                        free(info_t);
-                       break;
                }
        }
+       return 0;
 }
 
 static int __remove_item_running_list(int pid, uid_t user)
index 9fef48b..e94b9ed 100644 (file)
@@ -112,9 +112,9 @@ int _status_remove_app_info_list_with_uid(uid_t uid)
                        app_status_info_list =
                                g_slist_remove(app_status_info_list, info_t);
                        free(info_t);
-                       break;
                }
        }
+       return 0;
 }
 
 int _status_remove_app_info_list(int pid, uid_t uid)