From: Lukas Nykryn Date: Thu, 4 Oct 2012 07:49:04 +0000 (+0200) Subject: dbus-manager: check return of unit_dbus_path X-Git-Tag: v195~157 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b3c2cf3d8ed6e228adb18f0701c157a01a076aeb 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. --- 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(