diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2012-10-04 09:49:04 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-08 14:35:46 +0200 |
commit | b3c2cf3d8ed6e228adb18f0701c157a01a076aeb (patch) | |
tree | 0dd070b584cfc22259acaee430255c023eafb680 | |
parent | 380d7cc5b7355bc6b1cafd3d93729bb9c77c5b19 (diff) |
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.
-rw-r--r-- | src/core/dbus-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
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( |