]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
timeshift: Fix possible deadlock (due to missing unlock)
authorAndreas Öman <andreas@lonelycoder.com>
Wed, 9 Jan 2013 22:23:21 +0000 (23:23 +0100)
committerAndreas Öman <andreas@lonelycoder.com>
Wed, 9 Jan 2013 22:23:49 +0000 (23:23 +0100)
src/timeshift/timeshift_reader.c

index 4f6754f91a3999a549e3d26abfebe9ba8f97fe9c..1f772ffe184dc308d9f3f769344c4d98f999a5d0 100644 (file)
@@ -396,7 +396,6 @@ void *timeshift_reader ( void *p )
                   } else {
                     tvhlog(LOG_ERR, "timeshift", "ts %d failed to get current file", ts->id);
                     skip = NULL;
-                    break;
                   }
                   pthread_mutex_unlock(&ts->rdwr_mutex);
                 } else {