chiark / gitweb /
dbus-manager: check return of unit_dbus_path
[elogind.git] / src / core / dbus-manager.c
index 8a6449493a709544741e3261fcad964bbf7fd065..ed9784b58f200adb433bf49dfe19ad6b6d809d5d 100644 (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(