From 12694200d526effad49f7dfd9696b859766f8b5a Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 8 May 2018 23:44:38 +0900 Subject: [PATCH] uridecodebin3: Fix string leak uri and suburi should be free'd https://bugzilla.gnome.org/show_bug.cgi?id=795932 --- gst/playback/gsturidecodebin3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/playback/gsturidecodebin3.c b/gst/playback/gsturidecodebin3.c index 436e37c129..606fe3d58e 100644 --- a/gst/playback/gsturidecodebin3.c +++ b/gst/playback/gsturidecodebin3.c @@ -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); }