fix null list

Origin commit data
------------------
Branch: master
Commit: 95ff777250
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-10-24 (Tue, 24 Oct 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-10-24 18:32:36 +02:00
committed by TangoCash
parent 228ab3d48d
commit d01a02bbb1

View File

@@ -383,6 +383,8 @@ cPlayback::~cPlayback()
{ {
lt_info( "%s:%s\n", FILENAME, __FUNCTION__); lt_info( "%s:%s\n", FILENAME, __FUNCTION__);
//FIXME: all deleting stuff is done in Close() //FIXME: all deleting stuff is done in Close()
if (m_stream_tags)
gst_tag_list_free(m_stream_tags);
} }
//Used by Fileplay //Used by Fileplay
@@ -418,9 +420,6 @@ void cPlayback::Close(void)
lt_info( "%s:%s - GST bus handler closed\n", FILENAME, __FUNCTION__); lt_info( "%s:%s - GST bus handler closed\n", FILENAME, __FUNCTION__);
} }
if (m_stream_tags)
gst_tag_list_free(m_stream_tags);
// close gst // close gst
if (m_gst_playbin) if (m_gst_playbin)
{ {