diff --git a/src/utils_cache.c b/src/utils_cache.c
index 9e7bc067dc8198605de7a4fd8fdac5798b9dbe41..648c54de5b13b498df24b9ac3909eb2275544844 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
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 */