src/driver/scanepg.cpp avoid possible segfault

This commit is contained in:
Jacek Jendrzej
2017-02-17 11:09:53 +01:00
parent 84edb25f3f
commit 4bfe34bf5d

View File

@@ -160,7 +160,7 @@ bool CEpgScan::AddSelected()
void CEpgScan::AddTransponders()
{
if(bouquetList->Bouquets.empty())
if(!bouquetList || bouquetList->Bouquets.empty())
return;
if (current_mode != g_settings.epg_scan) {