Opened 16 years ago
Closed 16 years ago
#4657 closed patch (fixed)
dvdnav needs to drop locks when it fails
Reported by: | Owned by: | Janne Grunau | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
In libmythdvdnav, in the files dvdnav.c and searching.c there are a few error conditions where the thread lock is not dropped even though the function is going down the fail code path.
Since it is likely that the program will bow out in these paths, it isn't a big deal. But it is a good idea to give up any locks you might have when you don't need them.
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | dvdnav-lock-fixing.patch added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from Isaac Richards to Janne Grunau |
---|---|
Status: | new → accepted |
comment:2 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.
Fixes lack of lock release in failure paths