mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-23 01:18:11 +00:00
Fix memory leak in ElementClass::add_pad_template()
It's taking the pad template as transfer-floating, not transfer-full.
This commit is contained in:
parent
2c0e7a9192
commit
3703999895
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ where
|
|||
unsafe {
|
||||
gst_ffi::gst_element_class_add_pad_template(
|
||||
self as *const Self as *mut gst_ffi::GstElementClass,
|
||||
pad_template.to_glib_full(),
|
||||
pad_template.to_glib_none().0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue