From 4a45965fb39f509617cd9e25fa60b9863d7551b6 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 9 Jul 2013 17:06:49 +0200 Subject: [PATCH] Fixed a bug in searchtimers handling --- recmanager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recmanager.c b/recmanager.c index df65cc3..215a425 100644 --- a/recmanager.c +++ b/recmanager.c @@ -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::iterator it=results.begin(); it != results.end(); ++it) {