mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
lv2: Don't leak plugin information on registration
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
This commit is contained in:
parent
685a4aaaa7
commit
f4d0537b3e
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ lv2_plugin_discover (GstPlugin * plugin)
|
|||
"can-do-presets", G_TYPE_BOOLEAN, can_do_presets, NULL);
|
||||
|
||||
g_value_init (&value, GST_TYPE_STRUCTURE);
|
||||
g_value_set_boxed (&value, lv2_meta);
|
||||
g_value_take_boxed (&value, lv2_meta);
|
||||
gst_structure_set_value (lv2_meta_all, type_name, &value);
|
||||
g_value_unset (&value);
|
||||
|
||||
|
|
Loading…
Reference in a new issue