mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-02 01:43:49 +00:00
gstreamer: Fix leak in parent_request_new_pad()
request_new_pad() does not take ownership of name string Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1715>
This commit is contained in:
parent
a91f5bceb5
commit
10dcee7b59
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ pub trait ElementImplExt: ElementImpl {
|
||||||
from_glib_none(f(
|
from_glib_none(f(
|
||||||
self.obj().unsafe_cast_ref::<Element>().to_glib_none().0,
|
self.obj().unsafe_cast_ref::<Element>().to_glib_none().0,
|
||||||
templ.to_glib_none().0,
|
templ.to_glib_none().0,
|
||||||
name.to_glib_full(),
|
name.to_glib_none().0,
|
||||||
caps.to_glib_none().0,
|
caps.to_glib_none().0,
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue