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/audio_out | |
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/audio_out')
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index d4ab10c73..b14bc0c89 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -26,7 +26,7 @@ * (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk> * * - * $Id: audio_alsa_out.c,v 1.94 2003/06/18 12:59:39 mroi Exp $ + * $Id: audio_alsa_out.c,v 1.95 2003/06/22 17:10:41 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -1074,6 +1074,8 @@ static void ao_alsa_mixer_init(ao_driver_t *this_gen) { pthread_attr_setschedparam(&pth_attrs, &pth_params); pthread_create(&this->mixer.thread, &pth_attrs, ao_alsa_handle_event_thread, (void *) this); + + pthread_attr_destroy(&pth_attrs); } } |