summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elput')
-rw-r--r--src/lib/elput/elput_logind.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index cf5c631b39..25034480d2 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -600,7 +600,10 @@ _logind_vt_set(Elput_Manager *em, int vt)
600 if (!msg) return EINA_FALSE; 600 if (!msg) return EINA_FALSE;
601 601
602 if (!eldbus_message_arguments_append(msg, "u", vt)) 602 if (!eldbus_message_arguments_append(msg, "u", vt))
603 return EINA_FALSE; 603 {
604 eldbus_message_unref(msg);
605 return EINA_FALSE;
606 }
604 607
605 eldbus_connection_send(em->dbus.conn, msg, NULL, NULL, -1); 608 eldbus_connection_send(em->dbus.conn, msg, NULL, NULL, -1);
606 609