mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
core: fix oom check
This commit is contained in:
parent
2d4a39e759
commit
9ceefc810f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user