mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
Refcounting fixes
Original commit message from CVS: Refcounting fixes
This commit is contained in:
parent
5cb557dbf5
commit
f00f7effdd
1 changed files with 1 additions and 1 deletions
|
@ -909,7 +909,7 @@ gst_element_real_destroy (GtkObject *object)
|
|||
orig = pads = g_list_copy (element->pads);
|
||||
while (pads) {
|
||||
pad = GST_PAD (pads->data);
|
||||
gst_object_unparent (GST_OBJECT (pad));
|
||||
gst_object_destroy (GST_OBJECT (pad));
|
||||
pads = g_list_next (pads);
|
||||
}
|
||||
g_list_free (orig);
|
||||
|
|
Loading…
Reference in a new issue