summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-03-26 12:30:04 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-03-26 12:30:04 +0000
commitfce47bed538b68593085b841b329d64b65e913cd (patch)
treed2bd47e69e9ea6be0a844ed5ab83e5d5808ad78e
parentb0f782350ee6967da00ab3d7611b32f3df83eb2b (diff)
downloadxine-lib-fce47bed538b68593085b841b329d64b65e913cd.tar.gz
xine-lib-fce47bed538b68593085b841b329d64b65e913cd.tar.bz2
Fix mutex "leak".
CVS patchset: 6308 CVS date: 2004/03/26 12:30:04
-rw-r--r--src/input/net_buf_ctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index 071e26762..de991786f 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -536,6 +536,7 @@ void nbc_close (nbc_t *this) {
this->stream->xine->clock->set_option (this->stream->xine->clock, CLOCK_SCR_ADJUSTABLE, 1);
pthread_mutex_unlock(&this->mutex);
+ pthread_mutex_destroy(&this->mutex);
free (this);
xprintf(xine, XINE_VERBOSITY_DEBUG, "\nnet_buf_ctrl: nbc_close: done\n");