[Telepathy-commits] [telepathy-gabble/master] Remove unnecessary check that media channel has nonzero creator - we already asserted that in the constructor

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:58 PDT 2008


20080724175740-53eee-44adad2cb5790791296a48bd0429bc77753beccc.gz
---
 src/media-channel.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index f1a121b..cb21739 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -665,9 +665,7 @@ gabble_media_channel_dispose (GObject *object)
 
   priv->dispose_has_run = TRUE;
 
-  if (priv->creator != 0)
-    tp_handle_unref (contact_handles, priv->creator);
-
+  tp_handle_unref (contact_handles, priv->creator);
   priv->creator = 0;
 
   /** In this we set the state to ENDED, then the callback unrefs
-- 
1.5.6.3




More information about the Telepathy-commits mailing list