projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvpn plugin: Remove one level of indentation in the read functions.
[collectd.git]
/
src
/
utils_cache.c
diff --git
a/src/utils_cache.c
b/src/utils_cache.c
index
9e7bc06
..
648c54d
100644
(file)
--- a/
src/utils_cache.c
+++ b/
src/utils_cache.c
@@
-1003,6
+1003,9
@@
static meta_data_t *uc_get_meta (const value_list_t *vl) /* {{{ */
if (ce->meta == NULL)
ce->meta = meta_data_create ();
+ if (ce->meta == NULL)
+ pthread_mutex_unlock (&cache_lock);
+
return (ce->meta);
} /* }}} meta_data_t *uc_get_meta */