Code

Remove duplicate call to pthread_mutex_destroy.
authorCorey Kosak <kosak@google.com>
Wed, 25 Nov 2015 22:03:47 +0000 (17:03 -0500)
committerMarc Fournier <marc.fournier@camptocamp.com>
Thu, 26 Nov 2015 10:08:38 +0000 (11:08 +0100)
src/meta_data.c

index 48dcabcec884d8bed391ece4eb184ee3aed9f700..b6483e8bf77681fbd798b319f282fccd1510f583 100644 (file)
@@ -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);