gstrtpssrcdemux: fix element leak

This commit is contained in:
Vincent Penquerc'h 2012-01-12 18:23:42 +00:00
parent f04d812719
commit 654a04f90c

View file

@ -742,7 +742,10 @@ gst_rtp_ssrc_demux_iterate_internal_links_sink (GstPad * pad)
it = gst_element_iterate_src_pads (GST_ELEMENT (demux));
return gst_iterator_filter (it, src_pad_compare_func, (gpointer) prefix);
it = gst_iterator_filter (it, src_pad_compare_func, (gpointer) prefix);
gst_object_unref (demux);
return it;
}