projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd88e32
)
src/meta_data.c: Free a leaking mutex.
author
Rafal Lesniak
<lesniak@sra.uni-hannover.de>
Fri, 13 May 2011 15:15:54 +0000
(17:15 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Fri, 13 May 2011 15:18:17 +0000
(17:18 +0200)
This problem primarily manifested on FreeBSD but may well effect other
systems as well.
Thanks to Tomas Krasnican for reporting this problem.
Signed-off-by: Florian Forster <octo@collectd.org>
src/meta_data.c
patch
|
blob
|
history
diff --git
a/src/meta_data.c
b/src/meta_data.c
index
6a336c4
..
aff3f8e
100644
(file)
--- a/
src/meta_data.c
+++ b/
src/meta_data.c
@@
-215,6
+215,7
@@
void meta_data_destroy (meta_data_t *md) /* {{{ */
return;
md_entry_free (md->head);
+ pthread_mutex_destroy (&md->lock);
free (md);
} /* }}} void meta_data_destroy */