projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea2b25
)
utils_cache: Unlock the cache mutex before returning in an error condition.
author
Sebastian Harl
<sh@tokkee.org>
Tue, 20 Jan 2009 12:20:00 +0000
(13:20 +0100)
committer
Sebastian Harl
<sh@tokkee.org>
Tue, 20 Jan 2009 12:20:00 +0000
(13:20 +0100)
src/utils_cache.c
patch
|
blob
|
history
diff --git
a/src/utils_cache.c
b/src/utils_cache.c
index
6d96516
..
6779bba
100644
(file)
--- a/
src/utils_cache.c
+++ b/
src/utils_cache.c
@@
-262,6
+262,7
@@
int uc_check_timeout (void)
{
ERROR ("uc_purge: realloc failed.");
c_avl_iterator_destroy (iter);
+ pthread_mutex_unlock (&cache_lock);
return (-1);
}