[mythtv-commits] Ticket #444: Memory leak - pespacket handling

MythTV mythtv at cvs.mythtv.org
Sun Oct 9 20:23:37 UTC 2005


#444: Memory leak - pespacket handling
---------------------+------------------------------------------------------
 Reporter:  stuarta  |       Owner:  danielk
     Type:  patch    |      Status:  new    
 Priority:  minor    |   Milestone:  0.19   
Component:  mythtv   |     Version:  head   
 Severity:  low      |  ---------------------+------------------------------------------------------
 Fixes a memory leak in the pespacket handling.

 When the packet was cloned, but the allocated size according to
 the copied header was 0, it was allocating 188 bytes and thinking
 it didn't need to free it.

 This adds a proper _isClone variable, which is used to check if
 the packet is a clone or not and hence if memory need freeing.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/444>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list