Loading libprocessgroup/processgroup.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -171,6 +171,7 @@ static void removeUidProcessGroups(const char *uid_path) SLOGV("removing %s\n", path); rmdir(path); } closedir(uid); } } Loading @@ -180,8 +181,7 @@ void removeAllProcessGroups() DIR *root = opendir(PROCESSGROUP_CGROUP_PATH); if (root == NULL) { SLOGE("failed to open %s: %s", PROCESSGROUP_CGROUP_PATH, strerror(errno)); } if (root != NULL) { } else { struct dirent cur; struct dirent *dir; while ((readdir_r(root, &cur, &dir) == 0) && dir) { Loading @@ -199,6 +199,7 @@ void removeAllProcessGroups() SLOGV("removing %s\n", path); rmdir(path); } closedir(root); } } Loading Loading
libprocessgroup/processgroup.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -171,6 +171,7 @@ static void removeUidProcessGroups(const char *uid_path) SLOGV("removing %s\n", path); rmdir(path); } closedir(uid); } } Loading @@ -180,8 +181,7 @@ void removeAllProcessGroups() DIR *root = opendir(PROCESSGROUP_CGROUP_PATH); if (root == NULL) { SLOGE("failed to open %s: %s", PROCESSGROUP_CGROUP_PATH, strerror(errno)); } if (root != NULL) { } else { struct dirent cur; struct dirent *dir; while ((readdir_r(root, &cur, &dir) == 0) && dir) { Loading @@ -199,6 +199,7 @@ void removeAllProcessGroups() SLOGV("removing %s\n", path); rmdir(path); } closedir(root); } } Loading