Opened 16 years ago
Closed 16 years ago
#4663 closed defect (fixed)
make sure file handle is closed when done with it
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
In libmythdvdnav, in remap.c, in the function remap_loadmap the map file is loaded. When the function is done it does not close the map file. Which means that the file handle for the map file just hangs around (and is eventually leaked as a resource).
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | fix-possible-file-handle-leak-in-dvdnav-remap.patch added |
---|
comment:1 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.
(In [16158]) Make sure remap_loadmap() in libmythdvdnav closes the file it opens before exiting.
Patch by Erik Hovland. Refs #4663.