-fixed crash in channel view introduced in r134

This commit is contained in:
fix94.1 2012-02-17 23:14:00 +00:00
parent bb9dbea535
commit 2a0a2a3303

View File

@ -1233,7 +1233,7 @@ void CMenu::_gameSoundThread(CMenu *m)
Banner *banner = m->m_current_view == COVERFLOW_USB ?
_extractBnr(m->m_gameSoundHdr) : m->m_current_view == COVERFLOW_CHANNEL ?
_extractChannelBnr(m->m_gameSoundHdr->hdr.chantitle) : NULL;
SAFE_DELETE(m->m_gameSoundHdr);
m->m_gameSoundHdr = NULL;
if (banner == NULL || !banner->IsValid())
{