Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #17 from special/invalid-account-crash
[telepathy-sasl-signon] Fix crash on invalid account IDs
  • Loading branch information
special committed May 21, 2014
2 parents 48784cb + 432b482 commit 6417690
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion telepathy-sasl-signon/empathy-uoa-auth-handler.c
Expand Up @@ -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);
return;
}
Expand Down

0 comments on commit 6417690

Please sign in to comment.