src/driver/scanepg.cpp avoid possible segfault

Origin commit data
------------------
Commit: 4bfe34bf5d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-02-17 (Fri, 17 Feb 2017)
This commit is contained in:
Jacek Jendrzej
2017-02-17 11:09:53 +01:00
parent f2e312a727
commit 144fbcba14

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) {