core: fix oom check

This commit is contained in:
Lennart Poettering
2014-01-31 17:48:36 +01:00
parent 2d4a39e759
commit 9ceefc810f
+1 -1
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