projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7217dd3
)
write_mongodb plugin: s/bson_dispose/bson_destroy/
author
Florian Forster
<octo@collectd.org>
Mon, 9 Mar 2015 07:56:39 +0000
(08:56 +0100)
committer
Florian Forster
<octo@collectd.org>
Mon, 9 Mar 2015 07:56:39 +0000
(08:56 +0100)
Thanks to @eremenko for providing the initial patch!
Fixes: #331, #956
src/write_mongodb.c
patch
|
blob
|
history
diff --git
a/src/write_mongodb.c
b/src/write_mongodb.c
index
30e261c
..
a12bdd0
100644
(file)
--- a/
src/write_mongodb.c
+++ b/
src/write_mongodb.c
@@
-243,7
+243,7
@@
static int wm_write (const data_set_t *ds, /* {{{ */
pthread_mutex_unlock (&node->lock);
/* free our resource as not to leak memory */
- bson_d
ispose
(bson_record);
+ bson_d
estroy
(bson_record);
return (0);
} /* }}} int wm_write */