src/gui/moviebrowser.cpp set deleted CChannelLogo pointers to NULL

Origin commit data
------------------
Branch: ni/coolstream
Commit: cbf4c9bae8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-15 (Sun, 15 Feb 2015)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-02-15 18:49:30 +01:00
parent 8eafe936f7
commit 8668aa9ab4

View File

@@ -1261,6 +1261,7 @@ void CMovieBrowser::refreshMovieInfo(void)
else else
CChannelLogo->hide(); CChannelLogo->hide();
delete CChannelLogo; delete CChannelLogo;
CChannelLogo = NULL;
} }
if (old_EpgId != m_movieSelectionHandler->epgEpgId >>16) { if (old_EpgId != m_movieSelectionHandler->epgEpgId >>16) {
CChannelLogo = new CComponentsChannelLogo(0, 0, logo_w_max, m_cBoxFrameTitleRel.iHeight, CChannelLogo = new CComponentsChannelLogo(0, 0, logo_w_max, m_cBoxFrameTitleRel.iHeight,