[mythtv] memory leak in MainServer::FillStatusXML

George Nassas gnassas at mac.com
Fri Jul 1 06:41:20 UTC 2005


On 26-Jun-05, at 11:15 PM, George Nassas wrote:

> My searching will continue as weather permits... :)

It appears that QTextStream's << operator can't handle more than 510 
characters and HttpStatus::readClient has one call swallowing the 
entire xml text. Probably something the class depends on but anyway 510 
is a magic number. It's easy enough to code around.

Also, ProgramInfo::GetProgramRecordingProfile is leaking for me. The 
class hierarchy is a bit much for 2am, I'm hoping someone familiar with 
that stuff can go "aha". If not I'll chase it down.

I'll submit fixes shortly but I'd like to get myself up to current svn 
and perhaps look at the Qt code to see if something pops out. Likely a 
few days.

- George



More information about the mythtv-dev mailing list