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_decoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/video_decoder.c') diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index 298c2f81f..bc6f3cd9e 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_decoder.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_decoder.c,v 1.134 2003/04/27 15:56:45 heinchen Exp $ + * $Id: video_decoder.c,v 1.135 2003/06/22 17:10:41 mroi Exp $ * */ @@ -427,6 +427,8 @@ void video_decoder_init (xine_stream_t *stream) { strerror(err)); abort(); } + + pthread_attr_destroy(&pth_attrs); } void video_decoder_shutdown (xine_stream_t *stream) { -- cgit v1.2.3