[mythtv-commits] mythtv commit: r13608 - in trunk/mythtv by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Jun 8 04:34:25 UTC 2007


      Author: cpinkham
        Date: 2007-06-08 04:34:24 +0000 (Fri, 08 Jun 2007)
New Revision: 13608
   Changeset: http://cvs.mythtv.org/trac/changeset/13608

Modified:

   trunk/mythtv/libs/libmythtv/jobqueue.cpp
   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythui/mythmainwindow.cpp
   trunk/mythtv/programs/mythbackend/autoexpire.cpp
   trunk/mythtv/programs/mythbackend/mainserver.cpp
   trunk/mythtv/programs/mythfrontend/networkcontrol.cpp

Log:

Call pthread_attr_destroy() after we're done with the pthread_attr_t data
that was created when we called pthread_attr_init().  Fixes up some memory
leaks in a few places, most noticable in the backend where we create a new
thread whenever you delete a recording file.

I also removed the unnecessary attr used to set PTHREAD_CREATE_JOINABLE in
NetworkControl, since the default is joinable, we don't need to explicitly
set this attribute.

Closes #3581 using slightly modified patch by Russell Bryant.






More information about the mythtv-commits mailing list