core: fix oom check

This commit is contained in:
Lennart Poettering 2014-01-31 17:47:22 +01:00
parent 2d4a39e759
commit 9ceefc810f

View file

@ -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