summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_logind.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index e93633edc1..aa9006e5bb 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -196,7 +196,10 @@ _logind_session_object_path_get(Elput_Manager *em)
196 goto message_fail; 196 goto message_fail;
197 } 197 }
198 if (!eldbus_message_arguments_get(reply, "o", &str)) 198 if (!eldbus_message_arguments_get(reply, "o", &str))
199 {
200 eldbus_message_unref(reply);
199 goto message_fail; 201 goto message_fail;
202 }
200 203
201 em->dbus.path = strdup(str); 204 em->dbus.path = strdup(str);
202 eldbus_message_unref(reply); 205 eldbus_message_unref(reply);