diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-12-07 19:17:00 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-12-08 13:10:21 +0000 |
commit | 442ded0c48c788ab1d4f57c9cf7975dcc8bb9d3d (patch) | |
tree | 6eff15ff0c92db961407b17961c7c6ab4a83aa4f | |
parent | f8493395eba03e6f169cdf29134cd44a130556dc (diff) |
contacts_held_handles: guard against being called unnecessarily
-rw-r--r-- | telepathy-glib/contact.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/contact.c b/telepathy-glib/contact.c index f9a101bc4..348907869 100644 --- a/telepathy-glib/contact.c +++ b/telepathy-glib/contact.c @@ -1417,6 +1417,7 @@ contacts_held_handles (TpConnection *connection, guint i; g_assert (n_handles == c->handles->len); + g_assert (c->contacts->len == 0); for (i = 0; i < c->handles->len; i++) { |