projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4df0bf
)
uridecodebin3: Fix string leak
author
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 8 May 2018 14:44:38 +0000
(23:44 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 8 May 2018 15:20:08 +0000
(16:20 +0100)
uri and suburi should be free'd
https://bugzilla.gnome.org/show_bug.cgi?id=795932
gst/playback/gsturidecodebin3.c
patch
|
blob
|
history
diff --git
a/gst/playback/gsturidecodebin3.c
b/gst/playback/gsturidecodebin3.c
index 436e37c1293ae006a56c36b17a2c0282586c051c..606fe3d58e4fa6bf88fe090055f69177f01b2cfc 100644
(file)
--- 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);
}