[systemd-commits] src/core
Lennart Poettering
lennart at kemper.freedesktop.org
Fri Sep 13 05:41:21 PDT 2013
src/core/cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 81c68af03f4ea9a1adc0767f7a3993a1cbe2ab3d
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Fri Sep 13 14:31:17 2013 +0200
core/cgroup: first print then free
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index 244baff..1f41efc 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgroup.c
@@ -402,8 +402,8 @@ static int unit_create_cgroups(Unit *u, CGroupControllerMask mask) {
is_in_hash = true;
if (r < 0) {
- free(path);
log_error("cgroup %s exists already: %s", path, strerror(-r));
+ free(path);
return r;
}
More information about the systemd-commits
mailing list