Opened 12 years ago

Closed 11 years ago

#4793 closed patch (fixed)

Fix for pginfo leak in LiveTVChain::GetSwitchProgram()

Reported by: Shane Shrybman <gnome42@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

First patch is just the one liner delete pginfo before reload.

The second patch has the delete plus a few trivial optimizations. Mainly, avoid reloading the entry if we can, because EntryToProgram?() goes to the DB for the pginfo.

Attachments (2)

mythtv_tvchain_pginfo_leak.diff (371 bytes) - added by Shane Shrybman <gnome42@…> 12 years ago.
pginfo leak
mythtv_tvchain_pginfo_leak2.diff (869 bytes) - added by Shane Shrybman <gnome42@…> 12 years ago.
pginfo leak plus small optimizations

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by Shane Shrybman <gnome42@…>

pginfo leak

Changed 12 years ago by Shane Shrybman <gnome42@…>

pginfo leak plus small optimizations

comment:1 Changed 11 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17956]) Fixes #4793. Fixes a small memory leak in LiveTV handling with patch from Shane.

Note: See TracTickets for help on using tickets.