From: Jaroslav Kysela Date: Sat, 7 Nov 2015 12:45:42 +0000 (+0100) Subject: subscriptions: add missing list remove from the mux raw subscriptions X-Git-Tag: v4.2.1~1636 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b4855957cda524794af1134cbf9622030ef892c;p=thirdparty%2Ftvheadend.git subscriptions: add missing list remove from the mux raw subscriptions --- diff --git a/src/subscriptions.c b/src/subscriptions.c index c5fda01b6..c7b6ddb85 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -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);