[Telepathy-commits] [telepathy-gabble/master] Don't leak new remote codecs on update.

Will Thompson will.thompson at collabora.co.uk
Thu Mar 5 03:48:22 PST 2009


---
 src/jingle-media-rtp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/jingle-media-rtp.c b/src/jingle-media-rtp.c
index 1df0156..322dd8f 100644
--- a/src/jingle-media-rtp.c
+++ b/src/jingle-media-rtp.c
@@ -401,6 +401,8 @@ update_remote_codecs (GabbleJingleMediaRtp *self,
         }
     }
 
+  jingle_media_rtp_free_codecs (new_codecs);
+
 out:
   DEBUG ("emitting remote-codecs signal");
   g_signal_emit (self, signals[REMOTE_CODECS], 0, priv->remote_codecs);
-- 
1.5.6.5




More information about the telepathy-commits mailing list