From 2abe07f963b6eb9c689e26b352cb394434cc5a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 21 Jul 2009 15:33:41 -0400 Subject: rtpsession: Free conflicting addresses on finalize --- gst/rtpmanager/rtpsession.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/rtpmanager') diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index fa46f501..d63d9d0e 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -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); -- cgit v1.2.1