uridecodebin3: Fix string leak

uri and suburi should be free'd

https://bugzilla.gnome.org/show_bug.cgi?id=795932
This commit is contained in:
Seungha Yang 2018-05-08 23:44:38 +09:00 committed by Tim-Philipp Müller
parent b4df0bf07a
commit 12694200d5

View file

@ -652,6 +652,8 @@ gst_uri_decode_bin3_finalize (GObject * obj)
GstURIDecodeBin3 *dec = GST_URI_DECODE_BIN3 (obj);
g_mutex_clear (&dec->lock);
g_free (dec->uri);
g_free (dec->suburi);
G_OBJECT_CLASS (parent_class)->finalize (obj);
}