Apply tizen coding rule 88/149688/3
authorYunjin Lee <yunjin-.lee@samsung.com>
Wed, 13 Sep 2017 02:06:34 +0000 (11:06 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Tue, 27 Feb 2018 07:25:44 +0000 (07:25 +0000)
Change-Id: I953297c2b974bbd991460bf05688941140dc8af4
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
ui/src/privacy_package_list_view.c

index 287d85c..a7ca807 100644 (file)
@@ -48,15 +48,15 @@ static void privacy_package_check_changed_cb(void *data, Evas_Object *obj, void
 
 static void free_pkg_data(pkg_data_s *pkg_data)
 {
-       if(pkg_data->pkgid)
+       if (pkg_data->pkgid)
                free(pkg_data->pkgid);
-       if(pkg_data->label)
+       if (pkg_data->label)
                free(pkg_data->label);
-       if(pkg_data->icon)
+       if (pkg_data->icon)
                free(pkg_data->icon);
-       if(pkg_data->applist)
+       if (pkg_data->applist)
                g_list_free_full(pkg_data->applist, free);
-       if(pkg_data->privlist)
+       if (pkg_data->privlist)
                g_list_free_full(pkg_data->privlist, free);
 }
 
@@ -226,8 +226,7 @@ static void __terminate_app(const char* pkgid)
        LOGD("terminate app %s", pkgid);
        for (l = pkg_data_list; l != NULL; l = l->next) {
                pkg_data_s* pd = (pkg_data_s*)l->data;
-               if (strcmp(pd->pkgid, pkgid) == 0)
-               {
+               if (strcmp(pd->pkgid, pkgid) == 0) {
                        /* Retrieve app list */
                        for (ll = pd->applist; ll != NULL; ll = ll->next) {
                                char* appid = (char*)ll->data;