[mythtv-commits] Ticket #6525: Memory Leaks (Valgrind Logs attached)

MythTV mythtv at cvs.mythtv.org
Wed May 6 19:02:09 UTC 2009


#6525: Memory Leaks (Valgrind Logs attached)
------------------------------------+---------------------------------------
 Reporter:  bradley.kite at gmail.com  |        Owner:  ijr    
     Type:  defect                  |       Status:  new    
 Priority:  minor                   |    Milestone:  unknown
Component:  MythTV - General        |      Version:  head   
 Severity:  medium                  |   Resolution:         
  Mlocked:  0                       |  
------------------------------------+---------------------------------------
Changes (by danielk):

  * version:  unknown => head


Comment:

 In Qt4 deleteLater() is handled by the eventLoop() of the thread that
 where "new" was used to initially create the QObject. We are probably
 creating these objects in a thread which does not have a running Qt4 event
 loop. In Qt4, deleteLater() doesn't protect you from SLOT's being
 activated after a class is deleted anyway so the safest thing to do is
 probably to just remove all signals and slots from OSD objects, then
 remove the QObject inheritance and replace the deleteLater() with a simple
 delete.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6525#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list