mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
pad: Fix refcount leak of the parent in the default event dispatch function
This commit is contained in:
parent
dfef1d027d
commit
292806f60e
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue