Opened 15 years ago

Closed 15 years ago

#2023 closed patch (fixed)

Fix memory leak in AnalogScan::doScan()

Reported by: russell@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


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)

analogscan_memleak.patch (433 bytes) - added by russell@… 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by russell@…

Attachment: analogscan_memleak.patch added

comment:1 Changed 15 years ago by danielk

Milestone: 0.20
Owner: changed from Isaac Richards to danielk

comment:2 Changed 15 years ago by danielk

Resolution: fixed
Status: newclosed

(In [10436]) Fixes #2023. Another small patch for Russell, this one deletes a channel class when the Open() call fails in the analog scanner.

Note: See TracTickets for help on using tickets.