From 3dc9fe628d0832bf2866afd9dc83e27ee85435e5 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 22 Jun 2003 17:10:41 +0000 Subject: 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 --- src/xine-engine/video_out.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/video_out.c') 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; -- cgit v1.2.3