Commit 432b4826 authored by John Brooks's avatar John Brooks

[telepathy-sasl-signon] Fix crash on invalid account IDs

parent 48784cbd
......@@ -370,7 +370,8 @@ empathy_uoa_auth_handler_start (EmpathyUoaAuthHandler *self,
if (l == NULL)
DEBUG ("Couldn't find IM service for AgAccountId %u", id);
g_object_unref (account);
if (account != NULL)
g_object_unref (account);
tp_channel_close_async (channel, NULL, NULL);
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