From b3c2cf3d8ed6e228adb18f0701c157a01a076aeb Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Thu, 4 Oct 2012 09:49:04 +0200 Subject: 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 8a6449493a..ed9784b58f 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( -- cgit v1.2.3-54-g00ecf