mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
frei0r: Free various props before being set
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648>
This commit is contained in:
parent
afd979c9e4
commit
c2cb94a421
1 changed files with 1 additions and 0 deletions
|
@ -415,6 +415,7 @@ gst_frei0r_set_property (f0r_instance_t * instance, GstFrei0rFuncTable * ftable,
|
|||
/* Copies the string */
|
||||
if (instance)
|
||||
ftable->set_param_value (instance, s, prop->prop_idx);
|
||||
g_free (property_cache[prop->prop_idx].data.s);
|
||||
property_cache[prop->prop_idx].data.s = s;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue