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
@ -415,6 +415,7 @@ gst_frei0r_set_property (f0r_instance_t * instance, GstFrei0rFuncTable * ftable,
|
|||||||
/* Copies the string */
|
/* Copies the string */
|
||||||
if (instance)
|
if (instance)
|
||||||
ftable->set_param_value (instance, s, prop->prop_idx);
|
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;
|
property_cache[prop->prop_idx].data.s = s;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user