Opened 12 years ago

Closed 12 years ago

#4722 closed defect (fixed)

always close shared library if symbol isn't found

Reported by: Erik Hovland <erik@…> 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)

dynlib-file-handle-leak-in-filtermanager.patch (996 bytes) - added by Erik Hovland <erik@…> 12 years ago.
dynlib-file-handle-leak-in-filtermanager.2.patch (822 bytes) - added by Erik Hovland <erik@…> 12 years ago.
The previous svn commit missed one of the dlclose() calls

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Erik Hovland <erik@…>

comment:1 Changed 12 years ago by Anduin Withers

Owner: changed from Isaac Richards to Anduin Withers
Status: newassigned

comment:2 Changed 12 years ago by Anduin Withers

(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.

Changed 12 years ago by Erik Hovland <erik@…>

The previous svn commit missed one of the dlclose() calls

comment:3 Changed 12 years ago by Anduin Withers

Resolution: fixed
Status: assignedclosed

(In [16201]) Closes #4722

Merges [16173] from trunk.

Original commit message:

Remember to close dynamic libraries if they didn't turn out to be filters.

Thanks to Erik Hovland for the patch.

Note: See TracTickets for help on using tickets.