From b3c2cf3d8ed6e228adb18f0701c157a01a076aeb Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Thu, 4 Oct 2012 09:49:04 +0200 Subject: [PATCH] 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. --- src/core/dbus-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index 8a6449493..ed9784b58 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -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( -- 2.30.2