From fce47bed538b68593085b841b329d64b65e913cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 26 Mar 2004 12:30:04 +0000 Subject: Fix mutex "leak". CVS patchset: 6308 CVS date: 2004/03/26 12:30:04 --- src/input/net_buf_ctrl.c | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.2.3