Commit 9431aa65 by Serge Hallyn Committed by Stéphane Graber

lxc_cgroup_process_info_free_and_remove should recursively call itself

parent 001b026e
...@@ -904,7 +904,7 @@ void lxc_cgroup_process_info_free_and_remove(struct cgroup_process_info *info) ...@@ -904,7 +904,7 @@ void lxc_cgroup_process_info_free_and_remove(struct cgroup_process_info *info)
free(info->cgroup_path); free(info->cgroup_path);
free(info->cgroup_path_sub); free(info->cgroup_path_sub);
free(info); free(info);
lxc_cgroup_process_info_free(next); lxc_cgroup_process_info_free_and_remove(next);
} }
char *lxc_cgroup_get_hierarchy_path_handler(const char *subsystem, struct lxc_handler *handler) char *lxc_cgroup_get_hierarchy_path_handler(const char *subsystem, struct lxc_handler *handler)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment