smoothstreaming: Fix minor use after free reference

Just a matter of reordering a g_free() /after/ cleaning out all the
members.

CID 1396746
This commit is contained in:
Arun Raghavan 2017-01-02 17:50:02 +05:30
parent 92b471b511
commit a3e33a0fc1

View file

@ -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