diff options
author | louis <louis.braun@gmx.de> | 2013-07-09 17:06:49 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-07-09 17:06:49 +0200 |
commit | 4a45965fb39f509617cd9e25fa60b9863d7551b6 (patch) | |
tree | ec856115b43e257dc0e2d6574997402a404e2775 | |
parent | 92437a39511ffef4d4c67dfcd124f4133af99aeb (diff) | |
download | vdr-plugin-tvguide-4a45965fb39f509617cd9e25fa60b9863d7551b6.tar.gz vdr-plugin-tvguide-4a45965fb39f509617cd9e25fa60b9863d7551b6.tar.bz2 |
Fixed a bug in searchtimers handling
-rw-r--r-- | recmanager.c | 4 |
1 files 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<std::string>::iterator it=results.begin(); it != results.end(); ++it) { |