projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6a92b
)
src/daemon/meta_data.c: Fix double unlock.
author
Florian Forster
<octo@collectd.org>
Wed, 15 Nov 2017 21:31:47 +0000
(22:31 +0100)
committer
Florian Forster
<octo@collectd.org>
Wed, 15 Nov 2017 21:31:47 +0000
(22:31 +0100)
CID: 179245
src/daemon/meta_data.c
patch
|
blob
|
history
diff --git
a/src/daemon/meta_data.c
b/src/daemon/meta_data.c
index
583d819
..
7684690
100644
(file)
--- 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);
}