Skip to content

Commit

Permalink
lxc_cgroup_process_info_free_and_remove should recursively call itself
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
hallyn committed Sep 10, 2013
1 parent 0a556cc commit 9ddcd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/cgroup.c
Expand Up @@ -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_sub);
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)
Expand Down

0 comments on commit 9ddcd34

Please sign in to comment.