[mythtv-commits] Ticket #18: Fix memory leak in scheduler.cpp
MythTV
mythtv at cvs.mythtv.org
Sun Jun 26 18:42:18 UTC 2005
#18: Fix memory leak in scheduler.cpp
--------------------+-------------------------------------------------------
Id: 18 | Status: new
Component: mythtv | Modified: Sun Jun 26 18:42:18 2005
Severity: low | Milestone:
Priority: minor | Version: head
Owner: ijr | Reporter: neil at mailbox.co.za
--------------------+-------------------------------------------------------
scheduler.cpp appears to have a memory leak in getAllPending(QStringList
&strList) - retList is allocated but never freed. The leak won't be
obvious unless you're calling getAllPending fairly frequently (I have a
monitoring script that calls it twice a minute). The attached patch fixes
it for me. It was diff'd against CVS from 15/06 (I haven't moved to svn
yet), although hopefully it will patch cleanly against current head.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/18>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list