From 43a99a7afe3063eebc901452026b13360b69a7b5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 25 Dec 2013 19:00:12 +0100 Subject: build-sys: minor fixes found with cppcheck --- src/core/dbus-cgroup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/dbus-cgroup.c') diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c index 39865a96da..861bb16445 100644 --- a/src/core/dbus-cgroup.c +++ b/src/core/dbus-cgroup.c @@ -484,6 +484,8 @@ int bus_cgroup_set_property( n++; } + if (r < 0) + return r; if (mode != UNIT_CHECK) { _cleanup_free_ char *buf = NULL; -- cgit v1.2.3-54-g00ecf