[mythtv-commits] Ticket #3317: mythbackend memory leak
MythTV
mythtv at cvs.mythtv.org
Wed Jul 4 05:32:35 UTC 2007
#3317: mythbackend memory leak
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: stuarta
Type: defect | Status: assigned
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-----------------------+----------------------------------------------------
Comment(by anonymous):
Sorry for the rapid-fire posts, but here is an answer to the issue I found
above.
I found that simply doing:
{{{
pthread_detach(_video_thread);
}}}
right after the 'pthread_create' in dvbrecorder.cpp:StartDummyVideo()
allows the stack allocation to be cleaned up properly.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3317#comment:22>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list