diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-06-22 17:10:41 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-06-22 17:10:41 +0000 |
commit | 3dc9fe628d0832bf2866afd9dc83e27ee85435e5 (patch) | |
tree | 7fc76f3b9a4c1e0cfc5eb73750927291ce52a493 /src/xine-engine/video_out.c | |
parent | cb110558df923589ef7faf98b6647cb39c55c241 (diff) | |
download | xine-lib-3dc9fe628d0832bf2866afd9dc83e27ee85435e5.tar.gz xine-lib-3dc9fe628d0832bf2866afd9dc83e27ee85435e5.tar.bz2 |
some additional pthread_*_destroy() calls
(based on the implementation, this might fix memleaks on some platforms,
although I doubt that this is the case here)
CVS patchset: 5091
CVS date: 2003/06/22 17:10:41
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r-- | src/xine-engine/video_out.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index ccaa55c17..be977e1f8 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.163 2003/06/13 01:50:45 miguelfreitas Exp $ + * $Id: video_out.c,v 1.164 2003/06/22 17:10:41 mroi Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -1522,6 +1522,8 @@ xine_video_port_t *vo_new_port (xine_t *xine, vo_driver_t *driver, abort(); } else if (xine->verbosity >= XINE_VERBOSITY_DEBUG) printf ("video_out: thread created\n"); + + pthread_attr_destroy(&pth_attrs); } return &this->vo; |