diff options
Diffstat (limited to 'gst/rtpmanager/gstrtpptdemux.c')
-rw-r--r-- | gst/rtpmanager/gstrtpptdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |