Opened 19 years ago
Closed 19 years ago
#2023 closed patch (fixed)
Fix memory leak in AnalogScan::doScan()
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
If channel->Open() fails, the code jumps to the do_scan_end label and the channel will not be deleted. The attached patch addresses the issue.
IRC: russellb
Attachments (1)
Change History (3)
by , 19 years ago
Attachment: | analogscan_memleak.patch added |
---|
comment:1 by , 19 years ago
Milestone: | → 0.20 |
---|---|
Owner: | changed from | to
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [10436]) Fixes #2023. Another small patch for Russell, this one deletes a channel class when the Open() call fails in the analog scanner.