From: Corey Kosak Date: Wed, 25 Nov 2015 22:03:47 +0000 (-0500) Subject: Remove duplicate call to pthread_mutex_destroy. X-Git-Tag: collectd-5.5.1~48^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b2c062a99993e705dabd439a2a9c664960660ae9;p=collectd.git Remove duplicate call to pthread_mutex_destroy. --- diff --git a/src/meta_data.c b/src/meta_data.c index 48dcabce..b6483e8b 100644 --- a/src/meta_data.c +++ b/src/meta_data.c @@ -250,7 +250,6 @@ void meta_data_destroy (meta_data_t *md) /* {{{ */ if (md == NULL) return; - pthread_mutex_destroy(&md->lock); md_entry_free (md->head); pthread_mutex_destroy (&md->lock); free (md);