mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
parse/grammar: fix missing unref of looked up child
the target parameter of gst_child_proxy_lookup() is (transfer full) Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2560 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4622>
This commit is contained in:
parent
7df7efdc3f
commit
9914b34bf5
1 changed files with 2 additions and 0 deletions
|
@ -732,6 +732,8 @@ static GstElement * gst_parse_element_make (graph_t *graph, element_t *data) {
|
|||
g_object_set_property (target, pspec->name, &v);
|
||||
g_value_unset (&v);
|
||||
}
|
||||
|
||||
gst_object_unref (target);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue