Opened 12 years ago

Closed 11 years ago

#5155 closed defect (fixed)

MPEG2fixup::WriteFrame does not delete tmpFrame in error path

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

MPEG2fixup::WriteFrame? can error out at line 984, but it does not delete tmpFrame when it does. This would cause a small leak.

Attachments (1)

programs_mythtranscode_mpeg2fix.cpp-fix-unchecked-null-returns.patch (1.1 KB) - added by Erik Hovland <erik@…> 12 years ago.
delete tmpFrame in error path

Download all attachments as: .zip

Change History (2)

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

delete tmpFrame in error path

comment:1 Changed 11 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17537]) Fixes #5155. Fixes memory on error leak in mythtranscode.

Note: See TracTickets for help on using tickets.