Opened 12 years ago

Closed 12 years ago

#5152 closed defect (fixed)

MPEG2fixup::BuildFrame can leak in error path

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

Description

MPEG2fixup::BuildFrame? allocates a frame. When it detects an error and closes out, it doesn't always deallocate that frame.

Attachments (1)

programs_mythtranscode_mpeg2fix.cpp-fix-mem-leak.patch (941 bytes) - added by Erik Hovland <erik@…> 12 years ago.
free the frame in error paths

Download all attachments as: .zip

Change History (2)

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

free the frame in error paths

comment:1 Changed 12 years ago by greg

Resolution: fixed
Status: newclosed

(In [17035])

Fixes a small memory leak. Closes #5152

Patch from Erik Hovland

Note: See TracTickets for help on using tickets.