uridecodebin3: 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:10:56 -04:00 committed by GStreamer Marge Bot
parent 5a19c4a4ae
commit 12932ecc90

View file

@ -1586,6 +1586,7 @@ gst_uri_decode_bin3_set_property (GObject * object, guint prop_id,
dec->download = g_value_get_boolean (value);
break;
case PROP_DOWNLOAD_DIR:
g_free (dec->download_dir);
dec->download_dir = g_value_dup_string (value);
break;
case PROP_USE_BUFFERING: