Opened 18 years ago
Closed 18 years ago
#4722 closed defect (fixed)
always close shared library if symbol isn't found
| Reported by: | Owned by: | Anduin Withers | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.21 |
| Component: | mythtv | Version: | head |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The filter manager opens various shared libraries to find its filters. If it fails to find a symbol in the shared library it should close the shared library. It does this for some error conditions but not for every one.
Attachments (2)
Change History (5)
by , 18 years ago
| Attachment: | dynlib-file-handle-leak-in-filtermanager.patch added |
|---|
comment:1 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 18 years ago
by , 18 years ago
| Attachment: | dynlib-file-handle-leak-in-filtermanager.2.patch added |
|---|
The previous svn commit missed one of the dlclose() calls
Note:
See TracTickets
for help on using tickets.

(In [16173]) References #4722
Remember to close dynamic libraries if they didn't turn out to be filters.
Thanks to Erik Hovland for the patch.