[mythtv-commits] Ticket #1783: Memory Leak - StreamDataListener Handling

MythTV mythtv at cvs.mythtv.org
Mon May 8 20:23:24 EDT 2006


#1783: Memory Leak - StreamDataListener Handling
---------------------+------------------------------------------------------
 Reporter:  stuarta  |        Owner:  danielk
     Type:  defect   |       Status:  new    
 Priority:  minor    |    Milestone:  0.20   
Component:  dvb      |      Version:  head   
 Severity:  medium   |   Resolution:         
---------------------+------------------------------------------------------
Changes (by danielk):

  * type:  patch => defect

Old description:

> Found a memory leak in the stream data Listener handling
> in siparser.
>
> Patch attached.

New description:

 Found a memory leak in the stream data Listener handling
 in siparser.

 Patch attached.

Comment:

 This patch won't do since the SIParser is going away and this would
 segfault when both SIParser and DVBRecorder delete the same object.

 But the bug is valid and I'll write a proper fix within the next few weeks
 if no one beats me to it.

 The fix will either transfer ownership of the stream data to TVRec, or
 just delete the stream data when we teardown a DTVSignalMonitor with a
 stream data that a recorder does not reference.

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


More information about the mythtv-commits mailing list