From 967c038dc0db18e84ca536583a8b22dc00e926f5 Mon Sep 17 00:00:00 2001 From: Flole998 Date: Fri, 2 Apr 2021 03:40:39 +0200 Subject: [PATCH] Fix possible deadlock --- src/descrambler/capmt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 719f600da..31851b632 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -2507,6 +2507,7 @@ capmt_service_start(caclient_t *cac, service_t *s) "%s: No free adapter slot available for service \"%s\"", capmt_name(capmt), t->s_dvb_svcname); tvh_mutex_unlock(&capmt->capmt_mutex); + tvh_mutex_unlock(&t->s_stream_mutex); return; } } -- 2.47.2