summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorTimo Eskola <timo@tolleri.net>2018-09-02 09:05:22 +0300
committerTimo Eskola <timo@tolleri.net>2018-09-02 09:05:22 +0300
commite12245cacc509ca76a9e2192a3c9c42be0a52861 (patch)
tree1e8bbbee0baf5517e63397cf214c65b7097356db /menu.c
parent08f0cb51279c0ba868b2543e1447c2ab4123a433 (diff)
downloadvdr-plugin-duplicates-e12245cacc509ca76a9e2192a3c9c42be0a52861.tar.gz
vdr-plugin-duplicates-e12245cacc509ca76a9e2192a3c9c42be0a52861.tar.bz2
Use temporary list when scanning duplicate recordings.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 341355d..6160e96 100644
--- a/menu.c
+++ b/menu.c
@@ -286,7 +286,7 @@ eOSState cMenuDuplicates::Delete(void) {
RecordingsHandler.Del(FileName); // must do this w/o holding a lock, because the cleanup section in cDirCopier::Action() might request one!
if (cReplayControl::NowReplaying() && strcmp(cReplayControl::NowReplaying(), FileName) == 0)
cControl::Shutdown();
- cStateKey recordingsStateKey;
+ cStateKey recordingsStateKey;
cRecordings *Recordings = cRecordings::GetRecordingsWrite(recordingsStateKey);
Recordings->SetExplicitModify();
cRecording *recording = Recordings->GetByName(FileName);