mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-25 21:40:34 +00:00
Fix #112745, unreffing padtemplates that aren't properly ref'ed
Original commit message from CVS: Fix #112745, unreffing padtemplates that aren't properly ref'ed
This commit is contained in:
parent
56125511dc
commit
31d85c9430
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,9 @@ gst_element_factory_cleanup (GstElementFactory *factory)
|
|||
while (padtemplates) {
|
||||
GstPadTemplate *oldtempl = GST_PAD_TEMPLATE (padtemplates->data);
|
||||
|
||||
gst_object_unref (GST_OBJECT (oldtempl));
|
||||
/* We leak the padtemplates, since they're generally not properly
|
||||
* ref'ed by the factories */
|
||||
/* gst_object_unref (GST_OBJECT (oldtempl)); */
|
||||
|
||||
padtemplates = g_list_next (padtemplates);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue