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)
Changed 19 years ago by
Attachment: | analogscan_memleak.patch added |
---|
comment:1 Changed 19 years ago by
Milestone: | → 0.20 |
---|---|
Owner: | changed from Isaac Richards to danielk |
comment:2 Changed 19 years ago by
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.