mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
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:
parent
b4df0bf07a
commit
12694200d5
1 changed files with 2 additions and 0 deletions
|
@ -652,6 +652,8 @@ gst_uri_decode_bin3_finalize (GObject * obj)
|
||||||
GstURIDecodeBin3 *dec = GST_URI_DECODE_BIN3 (obj);
|
GstURIDecodeBin3 *dec = GST_URI_DECODE_BIN3 (obj);
|
||||||
|
|
||||||
g_mutex_clear (&dec->lock);
|
g_mutex_clear (&dec->lock);
|
||||||
|
g_free (dec->uri);
|
||||||
|
g_free (dec->suburi);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue