From f5083b48502eb28153ed1d00c75070b7b2923000 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 24 Oct 2017 18:32:36 +0200 Subject: [PATCH] fix null list Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/5843c78976907dec3e8b76be3281613a1e3c249b Author: Jacek Jendrzej Date: 2017-10-24 (Tue, 24 Oct 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/playback_gst.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libarmbox/playback_gst.cpp b/libarmbox/playback_gst.cpp index ae01cc1..3c852be 100644 --- a/libarmbox/playback_gst.cpp +++ b/libarmbox/playback_gst.cpp @@ -383,6 +383,8 @@ cPlayback::~cPlayback() { lt_info( "%s:%s\n", FILENAME, __FUNCTION__); //FIXME: all deleting stuff is done in Close() + if (m_stream_tags) + gst_tag_list_free(m_stream_tags); } //Used by Fileplay @@ -418,9 +420,6 @@ void cPlayback::Close(void) lt_info( "%s:%s - GST bus handler closed\n", FILENAME, __FUNCTION__); } - if (m_stream_tags) - gst_tag_list_free(m_stream_tags); - // close gst if (m_gst_playbin) {