hlsdemux: Set playlist parsing helper object to NULL after freeing

This commit is contained in:
Sebastian Dröge 2011-09-02 14:54:56 +02:00
parent acacc251fa
commit 445f626016

View file

@ -861,8 +861,10 @@ gst_hls_demux_reset (GstHLSDemux * demux, gboolean dispose)
gst_adapter_clear (demux->download); gst_adapter_clear (demux->download);
if (demux->client) if (demux->client) {
gst_m3u8_client_free (demux->client); gst_m3u8_client_free (demux->client);
demux->client = NULL;
}
if (!dispose) { if (!dispose) {
demux->client = gst_m3u8_client_new (""); demux->client = gst_m3u8_client_new ("");