projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.5'
[collectd.git]
/
src
/
daemon
/
utils_heap.c
diff --git
a/src/daemon/utils_heap.c
b/src/daemon/utils_heap.c
index
ae502c9
..
19b1d5b
100644
(file)
--- a/
src/daemon/utils_heap.c
+++ b/
src/daemon/utils_heap.c
@@
-173,7
+173,7
@@
int c_heap_insert (c_heap_t *h, void *ptr)
/* Reorganize the heap from bottom up. */
reheap (h, /* parent of this node = */ (index - 1) / 2, DIR_UP);
/* Reorganize the heap from bottom up. */
reheap (h, /* parent of this node = */ (index - 1) / 2, DIR_UP);
-
+
pthread_mutex_unlock (&h->lock);
return (0);
} /* int c_heap_insert */
pthread_mutex_unlock (&h->lock);
return (0);
} /* int c_heap_insert */