aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-02-24 22:44:09 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-02-25 00:29:17 +0800
commitb05a5abcc6842be084aa12632b8ddd8d11dfa485 (patch)
tree075889464dbb3ad013fd4878c3dad12263182f89 /libempathy/empathy-dispatcher.c
parent05caf0ff7d093fa342fbff5e7c0e681750bf1523 (diff)
downloadgsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.tar
gsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.tar.gz
gsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.tar.bz2
gsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.tar.lz
gsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.tar.xz
gsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.tar.zst
gsoc2013-empathy-b05a5abcc6842be084aa12632b8ddd8d11dfa485.zip
Assert that the account exists
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 74e8ecb6d..4227f9df5 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1717,6 +1717,8 @@ empathy_dispatcher_call_create_or_ensure_channel (
account = empathy_get_account_for_connection (request_data->connection);
+ g_assert (account != NULL);
+
if (request_data->cb)
handler = empathy_handler_get_busname (priv->handler);