Reply of dbus_message_new_method_return was check twice and
path from unit_dbus_path was not.
---
src/core/dbus-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 9cdecfc..003825a 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -622,7 +622,7 @@ static DBusHandlerResult
bus_manager_message_handler(DBusConnection *connection,
goto oom;
path = unit_dbus_path(u);
- if (!reply)
+ if (!path)
goto oom;
if (!dbus_message_append_args(
--
1.7.6.5
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel