pad: Fix refcount leak of the parent in the default event dispatch function

This commit is contained in:
Sebastian Dröge 2011-05-05 16:59:36 +02:00
parent dfef1d027d
commit 292806f60e

View file

@ -2912,6 +2912,8 @@ gst_pad_iterate_internal_links_default (GstPad * pad)
res = gst_iterator_new_list (GST_TYPE_PAD,
lock, cookie, padlist, (GObject *) owner, NULL);
gst_object_unref (owner);
return res;
/* ERRORS */