rtpsession: Free conflicting addresses on finalize
authorOlivier Crête <olivier.crete@collabora.co.uk>
Tue, 21 Jul 2009 19:33:41 +0000 (15:33 -0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:46 +0000 (02:30 +0100)
gst/rtpmanager/rtpsession.c

index fa46f5016627593a8ae42a4e324fcabe4c447dfd..d63d9d0e021260ff5beff9d5c7da0d9df7c90837 100644 (file)
@@ -369,6 +369,9 @@ rtp_session_finalize (GObject * object)
   for (i = 0; i < 32; i++)
     g_hash_table_destroy (sess->ssrcs[i]);
 
+  g_list_foreach (sess->conflicting_addresses, (GFunc) g_free, NULL);
+  g_list_free (sess->conflicting_addresses);
+
   g_free (sess->bye_reason);
 
   g_hash_table_destroy (sess->cnames);