Fixed a bug in searchtimers handling

This commit is contained in:
louis 2013-07-09 17:06:49 +02:00
parent 92437a3951
commit 4a45965fb3

View File

@ -423,9 +423,9 @@ const cEvent **cRecManager::PerformSearchTimerSearch(std::string epgSearchString
numResults = results.size();
if (numResults > 0) {
searchResults = new const cEvent *[numResults];
cSchedulesLock *schedulesLock;
cSchedulesLock schedulesLock;
const cSchedules *schedules;
schedules = cSchedules::Schedules(*schedulesLock);
schedules = cSchedules::Schedules(schedulesLock);
const cEvent *event = NULL;
int index=0;
for (std::list<std::string>::iterator it=results.begin(); it != results.end(); ++it) {