]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix crash if removing DVR entry when in DVR_MISSED_TIME status
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 18 Oct 2010 21:15:26 +0000 (21:15 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 18 Oct 2010 21:15:26 +0000 (21:15 +0000)
Patch by sbi

Ticket #306

src/dvr/dvr_db.c

index bf4e80835fd671988e1b7ca5fc1f0c69738d59c0..c07011e29e2ff9125d9600fa4aa3664dc83f14fb 100644 (file)
@@ -679,6 +679,10 @@ dvr_entry_cancel(dvr_entry_t *de)
     dvr_entry_remove(de);
     return NULL;
 
+  case DVR_MISSED_TIME:
+    dvr_entry_remove(de);
+    return NULL;
+
   default:
     abort();
   }