projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b471b
)
smoothstreaming: Fix minor use after free reference
author
Arun Raghavan
<arun@arunraghavan.net>
Mon, 2 Jan 2017 12:20:02 +0000
(17:50 +0530)
committer
Arun Raghavan
<arun@arunraghavan.net>
Mon, 2 Jan 2017 12:20:02 +0000
(17:50 +0530)
Just a matter of reordering a g_free() /after/ cleaning out all the
members.
CID 1396746
ext/smoothstreaming/gstmssmanifest.c
patch
|
blob
|
history
diff --git
a/ext/smoothstreaming/gstmssmanifest.c
b/ext/smoothstreaming/gstmssmanifest.c
index
e1031ba
..
7ef1114
100644
(file)
--- a/
ext/smoothstreaming/gstmssmanifest.c
+++ b/
ext/smoothstreaming/gstmssmanifest.c
@@
-425,8
+425,8
@@
gst_mss_stream_free (GstMssStream * stream)
xmlFree (stream->lang);
g_regex_unref (stream->regex_position);
g_regex_unref (stream->regex_bitrate);
- g_free (stream);
gst_mss_fragment_parser_clear (&stream->fragment_parser);
+ g_free (stream);
}
void