]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix possible deadlock
authorFlole998 <Flole998@users.noreply.github.com>
Fri, 2 Apr 2021 01:40:39 +0000 (03:40 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Apr 2021 01:40:39 +0000 (03:40 +0200)
src/descrambler/capmt.c

index 719f600daeac1ee09ed53076021b623b9fab6cd0..31851b6326616094c56e84a1e0aceeb3ce100cae 100644 (file)
@@ -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;
     }
   }