projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8f1cb
)
qtdemux: don't leak atom data in case of a wrong fourcc
author
Stefan Kost
<ensonic@users.sf.net>
Tue, 31 Mar 2009 09:01:21 +0000
(12:01 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 31 Mar 2009 09:01:21 +0000
(12:01 +0300)
gst/qtdemux/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/qtdemux/qtdemux.c
b/gst/qtdemux/qtdemux.c
index 87d458ada5c42e5894d176cea720368f49a8ddf4..079ae1a25f3205dae4bb35fee5c1e266934fc51b 100644
(file)
--- a/
gst/qtdemux/qtdemux.c
+++ b/
gst/qtdemux/qtdemux.c
@@
-2542,7
+2542,6
@@
gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf)
qtdemux_parse_tree (demux);
g_node_destroy (demux->moov_node);
- g_free (data);
demux->moov_node = NULL;
} else {
GST_WARNING_OBJECT (demux,
@@
-2550,6
+2549,7
@@
gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf)
GST_FOURCC_ARGS (fourcc));
/* Let's jump that one and go back to initial state */
}
+ g_free (data);
GST_DEBUG_OBJECT (demux, "Finished parsing the header");
if (demux->mdatbuffer && demux->n_streams) {