From: Serge Hallyn Date: Tue, 10 Sep 2013 19:33:40 +0000 (-0500) Subject: lxc_cgroup_process_info_free_and_remove should recursively call itself X-Git-Tag: lxc-1.0.0.alpha2~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9431aa65a46c806738c698558c86fe8e8b20d414;p=thirdparty%2Flxc.git lxc_cgroup_process_info_free_and_remove should recursively call itself Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index 86d89e9cb..bfdf11279 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -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)