[mythtv-commits] Ticket #4793: Fix for pginfo leak in LiveTVChain::GetSwitchProgram()

MythTV mythtv at cvs.mythtv.org
Wed Feb 27 20:44:55 UTC 2008


#4793: Fix for pginfo leak in LiveTVChain::GetSwitchProgram()
------------------------------------------------+---------------------------
 Reporter:  Shane Shrybman <gnome42 at gmail.com>  |       Owner:  ijr    
     Type:  patch                               |      Status:  new    
 Priority:  minor                               |   Milestone:  unknown
Component:  mythtv                              |     Version:  unknown
 Severity:  medium                              |     Mlocked:  0      
------------------------------------------------+---------------------------
 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.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4793>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list