[telepathy-gabble/master] Sessions are guaranteed to have non-0 peer
Will Thompson
will.thompson at collabora.co.uk
Wed Jun 10 08:58:18 PDT 2009
---
src/jingle-session.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/jingle-session.c b/src/jingle-session.c
index ebd33bc..f315546 100644
--- a/src/jingle-session.c
+++ b/src/jingle-session.c
@@ -181,11 +181,8 @@ gabble_jingle_session_dispose (GObject *object)
g_hash_table_destroy (priv->contents);
priv->contents = NULL;
- if (sess->peer)
- {
- tp_handle_unref (contact_repo, sess->peer);
- sess->peer = 0;
- }
+ tp_handle_unref (contact_repo, sess->peer);
+ sess->peer = 0;
g_free (priv->sid);
priv->sid = NULL;
--
1.5.6.5
More information about the telepathy-commits
mailing list