dbus-manager: check return of unit_dbus_path

Reply of dbus_message_new_method_return was check twice and
path from unit_dbus_path was not.
This commit is contained in:
Lukas Nykryn
2012-10-08 14:35:46 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 380d7cc5b7
commit b3c2cf3d8e
+1 -1
View File
@@ -641,7 +641,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(