From ec613f7fe32e45de07333a2de8343ea69ac474cd Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 15 Nov 2017 22:31:47 +0100 Subject: [PATCH] src/daemon/meta_data.c: Fix double unlock. CID: 179245 --- src/daemon/meta_data.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/daemon/meta_data.c b/src/daemon/meta_data.c index 583d8196..76846904 100644 --- a/src/daemon/meta_data.c +++ b/src/daemon/meta_data.c @@ -737,7 +737,6 @@ int meta_data_as_string(meta_data_t *md, /* {{{ */ temp = md_strdup(actual); if (temp == NULL) { - pthread_mutex_unlock(&md->lock); ERROR("meta_data_as_string: md_strdup failed for key `%s'.", key); return (-ENOMEM); } -- 2.30.2