From e7a699dcfa222133a6a0cfac1132702852a6f3bd Mon Sep 17 00:00:00 2001 From: Rafal Lesniak Date: Fri, 13 May 2011 17:15:54 +0200 Subject: [PATCH] src/meta_data.c: Free a leaking mutex. This problem primarily manifested on FreeBSD but may well effect other systems as well. Thanks to Tomas Krasnican for reporting this problem. Signed-off-by: Florian Forster --- src/meta_data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meta_data.c b/src/meta_data.c index 6a336c4b..aff3f8e5 100644 --- a/src/meta_data.c +++ b/src/meta_data.c @@ -215,6 +215,7 @@ void meta_data_destroy (meta_data_t *md) /* {{{ */ return; md_entry_free (md->head); + pthread_mutex_destroy (&md->lock); free (md); } /* }}} void meta_data_destroy */ -- 2.30.2