Commit 15e0bba3 authored by Ralf Habacker's avatar Ralf Habacker

Fix bug unrefing connection too early in check_hello_message().

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 008264ff
......@@ -941,8 +941,6 @@ check_hello_message (BusContext *context,
return TRUE;
}
dbus_connection_unref (connection);
message = pop_message_waiting_for_memory (connection);
if (message == NULL)
{
......@@ -1090,6 +1088,8 @@ check_hello_message (BusContext *context,
if (name_message)
dbus_message_unref (name_message);
dbus_connection_unref (connection);
return retval;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment