mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
ladspa: Don't leak plugin information on registration
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
This commit is contained in:
parent
8ca2a2a230
commit
685a4aaaa7
1 changed files with 2 additions and 1 deletions
|
@ -250,9 +250,10 @@ ladspa_describe_plugin (const gchar * file_name, const gchar * entry_name,
|
|||
"control-out", G_TYPE_UINT, control_out, NULL);
|
||||
|
||||
g_value_init (&value, GST_TYPE_STRUCTURE);
|
||||
g_value_set_boxed (&value, ladspa_meta);
|
||||
g_value_take_boxed (&value, ladspa_meta);
|
||||
gst_structure_set_value (ladspa_meta_all, type_name, &value);
|
||||
g_value_unset (&value);
|
||||
g_free (type_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue