telepathy-rakia: Don't leak the stream

Olivier Crête tester at kemper.freedesktop.org
Tue May 8 10:02:59 PDT 2012


Module: telepathy-rakia
Branch: master
Commit: 469c35c7a6f3af4174f6ba4054562d1bdc4f0769
URL:    http://cgit.freedesktop.org/telepathy/telepathy-rakia/commit/?id=469c35c7a6f3af4174f6ba4054562d1bdc4f0769

Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Mon Feb 13 17:45:14 2012 -0500

Don't leak the stream

---

 rakia/call-content.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/rakia/call-content.c b/rakia/call-content.c
index 5db0867..f9451ca 100644
--- a/rakia/call-content.c
+++ b/rakia/call-content.c
@@ -192,6 +192,7 @@ rakia_call_content_deinit (TpBaseCallContent *base)
   rakia_sip_session_remove_media (rakia_sip_media_get_session (priv->media),
       priv->media, 0, NULL );
 
+  tp_clear_object (&priv->stream);
   tp_clear_object (&priv->channel);
 
   TP_BASE_CALL_CONTENT_CLASS (



More information about the telepathy-commits mailing list