mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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,
|
res = gst_iterator_new_list (GST_TYPE_PAD,
|
||||||
lock, cookie, padlist, (GObject *) owner, NULL);
|
lock, cookie, padlist, (GObject *) owner, NULL);
|
||||||
|
|
||||||
|
gst_object_unref (owner);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
|
|
Loading…
Reference in a new issue