summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Friedrichs <johann.friedrichs@web.de>2017-10-15 09:22:29 (GMT)
committerFrank Neumann <fnu@yavdr.org>2017-10-15 09:22:29 (GMT)
commited8efb5807338c947a18fe0272ac05f19e94a290 (patch)
tree1b94952b4576f893743188c4f131f398c5361cb7
parentf25c3907a334a171af6ebfbe9604c94beb6e69d2 (diff)
downloadvdr-plugin-epgsearch-ed8efb5807338c947a18fe0272ac05f19e94a290.tar.gz
vdr-plugin-epgsearch-ed8efb5807338c947a18fe0272ac05f19e94a290.tar.bz2
Lock sequenz 0917.
-rw-r--r--menu_searchresults.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/menu_searchresults.c b/menu_searchresults.c
index 023cf8d..fb03441 100644
--- a/menu_searchresults.c
+++ b/menu_searchresults.c
@@ -781,6 +781,7 @@ bool cMenuSearchResultsForRecs::BuildList()
int current = Current();
Clear();
+ {
LOCK_RECORDINGS_READ;
for (const cRecording *recording = Recordings->First(); recording; recording = Recordings->Next(recording)) {
const cRecordingInfo *recInfo = recording->Info();
@@ -830,6 +831,7 @@ bool cMenuSearchResultsForRecs::BuildList()
for (int a = 0; a < num; a++)
Add(new cMenuSearchResultsItem(pArray[a]));
delete pArray;
+ } // Recordinglock must be released before Display() is called
SetHelp(NULL);