projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
487ef12
)
ogg: fix memory leak in gst_ogg_parse_new_stream
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Mon, 1 Aug 2016 14:52:11 +0000
(15:52 +0100)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Wed, 3 Aug 2016 16:12:43 +0000
(17:12 +0100)
Avoid leaking the stream object
https://bugzilla.gnome.org/show_bug.cgi?id=769299
ext/ogg/gstoggparse.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggparse.c
b/ext/ogg/gstoggparse.c
index
1d7107b
..
b9754a1
100644
(file)
--- a/
ext/ogg/gstoggparse.c
+++ b/
ext/ogg/gstoggparse.c
@@
-148,6
+148,7
@@
gst_ogg_parse_new_stream (GstOggParse * parser, ogg_page * page)
if (ogg_stream_init (&stream->stream, serialno) != 0) {
GST_ERROR ("Could not initialize ogg_stream struct for serial %08x.",
serialno);
+ g_slice_free (GstOggStream, stream);
return NULL;
}