From a93348cc6da0eff1a30fd08b2ec17962079a38a6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 12 Sep 2007 21:23:47 +0000 Subject: gst/rtpmanager/: Various leak fixes. Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (create_session), (free_session), (get_client), (free_client), (gst_rtp_bin_associate), (free_stream), (gst_rtp_bin_class_init), (gst_rtp_bin_dispose), (gst_rtp_bin_finalize): * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_class_init), (gst_rtp_jitter_buffer_finalize): * gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_release): * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_finalize), (gst_rtp_session_set_property), (gst_rtp_session_chain_recv_rtp), (gst_rtp_session_chain_send_rtp): * gst/rtpmanager/gstrtpssrcdemux.c: (gst_rtp_ssrc_demux_class_init), (gst_rtp_ssrc_demux_dispose): * gst/rtpmanager/rtpsession.c: (rtp_session_finalize): * gst/rtpmanager/rtpsession.h: Various leak fixes. --- gst/rtpmanager/gstrtpptdemux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/rtpmanager/gstrtpptdemux.c') diff --git a/gst/rtpmanager/gstrtpptdemux.c b/gst/rtpmanager/gstrtpptdemux.c index 6aa42701..b16426d1 100644 --- a/gst/rtpmanager/gstrtpptdemux.c +++ b/gst/rtpmanager/gstrtpptdemux.c @@ -415,6 +415,7 @@ gst_rtp_pt_demux_release (GstElement * element) if (ptdemux) { /* note: GstElement's dispose() will handle the pads */ + g_slist_foreach (ptdemux->srcpads, (GFunc) g_free, NULL); g_slist_free (ptdemux->srcpads); ptdemux->srcpads = NULL; } -- cgit