]> git.0d.be Git - empathy.git/commitdiff
Don't double-free the EmpathyTpCallStreams
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 3 Feb 2009 09:03:19 +0000 (09:03 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 3 Feb 2009 09:03:19 +0000 (09:03 +0000)
The EmpathyTpCallStreams audio and video streams are freed in _finalize, don't
also free them in dispose

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2391

libempathy/empathy-tp-call.c

index a3c31b618271ed96c5ca8c951b78daca8038db35..c9fbb9bc299616d66b50a4a1d3f4804f1a81cd60 100644 (file)
@@ -427,9 +427,6 @@ tp_call_dispose (GObject *object)
 
   priv->dispose_has_run = TRUE;
 
-  g_slice_free (EmpathyTpCallStream, priv->audio);
-  g_slice_free (EmpathyTpCallStream, priv->video);
-
   if (priv->channel != NULL)
     {
       g_signal_handlers_disconnect_by_func (priv->channel,