diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-01-31 17:47:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-01-31 17:48:36 +0100 |
commit | 9ceefc810f86026fd9c97ac89d9d1898f8482d89 (patch) | |
tree | 9fc69d17c5d7338de9f6327e68114cba71b972a0 /src/core | |
parent | 2d4a39e759c4ab846ad8a546abeddd40bc8d736e (diff) |
core: fix oom check
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/dbus-unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 37c1e8cbf8..d4393e321f 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -627,7 +627,7 @@ static int send_changed_signal(sd_bus *bus, const char *destination, void *userd assert(u); p = unit_dbus_path(u); - if (!u) + if (!p) return -ENOMEM; /* Send a properties changed signal. First for the specific |