projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set target: Fix memory leak.
[collectd.git]
/
src
/
rrdtool.c
diff --git
a/src/rrdtool.c
b/src/rrdtool.c
index
f12b1ce
..
82f570f
100644
(file)
--- a/
src/rrdtool.c
+++ b/
src/rrdtool.c
@@
-1071,8
+1071,9
@@
static int rrd_init(void) {
pthread_mutex_unlock(&cache_lock);
pthread_mutex_unlock(&cache_lock);
- status = plugin_thread_create(&queue_thread, /* attr = */ NULL,
- rrd_queue_thread, /* args = */ NULL);
+ status =
+ plugin_thread_create(&queue_thread, /* attr = */ NULL, rrd_queue_thread,
+ /* args = */ NULL, "rrdtool queue");
if (status != 0) {
ERROR("rrdtool plugin: Cannot create queue-thread.");
return (-1);
if (status != 0) {
ERROR("rrdtool plugin: Cannot create queue-thread.");
return (-1);