tracer: Free various props before being set

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648>
This commit is contained in:
Doug Nazar 2025-03-14 22:15:38 -04:00 committed by GStreamer Marge Bot
parent 7998076e76
commit 86161c084e

View file

@ -114,6 +114,7 @@ gst_tracer_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_PARAMS:
g_free (self->priv->params);
self->priv->params = g_value_dup_string (value);
break;
default: