[mythtv-commits] Ticket #1982: Memory growth in backend

MythTV mythtv at cvs.mythtv.org
Wed Jul 19 16:36:56 UTC 2006


#1982: Memory growth in backend
---------------------+------------------------------------------------------
 Reporter:  stuarta  |        Owner:  stuarta
     Type:  defect   |       Status:  new    
 Priority:  minor    |    Milestone:  0.20   
Component:  dvb      |      Version:  head   
 Severity:  medium   |   Resolution:         
---------------------+------------------------------------------------------
Comment (by karl at bigmite.co.uk):

 I looked at the code, and really the destructor should be called
 elsewhere, bat as this method is only used in libs/libmythtv/eithelper.cpp
 a quick fix is to change ./libs/libmythtv/mpeg/dvbdescriptors.cpp using my
 quick hack....

 177c177
 <         return (QString)((*it).second);
 ---
 >         return QDeepCopy<QString>((*it).second);
 182c182
 <         return (QString)((*it).second);
 ---
 >         return QDeepCopy<QString>((*it).second);

 This seems to work for me.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1982#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list