Skip to content

Commit

Permalink
Merge pull request #275 from ycaibb/mumudvb2
Browse files Browse the repository at this point in the history
Fix the unreleased lock in the mumudvb.c
  • Loading branch information
braice authored Sep 27, 2021
2 parents ed1c176 + 489a85b commit 9beba0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mumudvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,10 @@ main (int argc, char **argv)
for (ichan = 0; ichan < chan_p.number_of_channels; ichan++)
{
if(mumu_init_chan(&chan_p.channels[ichan])<0)
{
pthread_mutex_unlock(&chan_p.lock);
goto mumudvb_close_goto;
}
}
pthread_mutex_unlock(&chan_p.lock);
//We initialize asked PID table
Expand Down

0 comments on commit 9beba0d

Please sign in to comment.