From: Jaroslav Kysela Date: Tue, 5 Jan 2016 16:15:06 +0000 (+0100) Subject: dvb_psi: fix service refcounting for bskyb bouquets X-Git-Tag: v4.2.1~1213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f6d56f2c5c6be5e7ab8238fea58054e2a801b2e;p=thirdparty%2Ftvheadend.git dvb_psi: fix service refcounting for bskyb bouquets --- diff --git a/src/input/mpegts/dvb_psi.c b/src/input/mpegts/dvb_psi.c index 674558b3f..be5da5054 100644 --- a/src/input/mpegts/dvb_psi.c +++ b/src/input/mpegts/dvb_psi.c @@ -813,6 +813,7 @@ dvb_bskyb_local_channels if (s) { bs = calloc(1, sizeof(*bs)); bs->svc = s; + service_ref((service_t *)s); TAILQ_INSERT_TAIL(&bi->services, bs, link); } }