From 5ea9a7819b717a83af03aa2ea234f105ed717589 Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Mon, 22 Jun 2009 18:39:55 +0530 Subject: libcgroup: Fix a missing goto in clean cgroups API Jan pointed out that there was a goto missing in the error handling paths. Fix that bug. Signed-off-by: Dhaval Giani --- src/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.c b/src/config.c index 5d5155f..b996b8d 100644 --- a/src/config.c +++ b/src/config.c @@ -586,6 +586,7 @@ static int cgroup_config_unload_controller(struct cgroup_mount_point mount_info) if (error && error != ECGEOF) { ret = error; cgroup_walk_tree_end(&tree_handle); + goto out_error; } } cgroup_walk_tree_end(&tree_handle); -- cgit