]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
subscriptions: add missing list remove from the mux raw subscriptions
authorJaroslav Kysela <perex@perex.cz>
Sat, 7 Nov 2015 12:45:42 +0000 (13:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 7 Nov 2015 12:47:02 +0000 (13:47 +0100)
src/subscriptions.c

index c5fda01b6db417c69d0589f265346e2af0f3e7b0..c7b6ddb85bd6983f4f33fb2f757994c8ee38d8f1 100644 (file)
@@ -602,8 +602,10 @@ subscription_unsubscribe(th_subscription_t *s, int quiet)
   }
 
 #if ENABLE_MPEGTS
-  if (raw && t == raw)
+  if (raw && t == raw) {
+    LIST_REMOVE(s, ths_mux_link);
     service_remove_raw(raw);
+  }
 #endif
 
   streaming_msg_free(s->ths_start_message);