aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index b8a185fed..04e248d2d 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -756,8 +756,7 @@ dispatcher_connection_got_all (TpProxy *proxy,
free_find_channel_request (request);
}
- if (requests)
- g_list_free (requests);
+ g_list_free (requests);
g_hash_table_remove (priv->outstanding_classes_requests, proxy);
}