mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
- moviebrowser: fix segfault
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3612,7 +3612,7 @@ void CMovieBrowser::initOptionsBrowserMenu(CMenuWidget *OptionsMenuBrowser, CInt
|
|||||||
|
|
||||||
bool CMovieBrowser::showMenu(bool calledExternally)
|
bool CMovieBrowser::showMenu(bool calledExternally)
|
||||||
{
|
{
|
||||||
if (m_header->getClockObject())
|
if (m_header && m_header->getClockObject())
|
||||||
m_header->disableClock();
|
m_header->disableClock();
|
||||||
|
|
||||||
/* first clear screen */
|
/* first clear screen */
|
||||||
@@ -3754,7 +3754,7 @@ bool CMovieBrowser::showMenu(bool calledExternally)
|
|||||||
|
|
||||||
delete nfs;
|
delete nfs;
|
||||||
|
|
||||||
if (m_header->getClockObject())
|
if (m_header && m_header->getClockObject())
|
||||||
m_header->enableClock();
|
m_header->enableClock();
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
|
Reference in New Issue
Block a user