Hi. While I'm working on my plugins, I noted some minor inconsistences in the sources and docs. I have updated wiki (minor changes in docs), and I like to propose some source code fixes now.
The problem, which patch covers, is not serious, but I think it needs to be fixed anyway. 1) It is the lack of freeing memory when encountering errors at early stages (plugin_register_complex_read() / create_register_callback(). 2) It can be double free() when encountering errors (at later stages) in plugin_register_complex_read() call in some plugins. See the patch attached. -- Thanks, Pavel.
0001-plugin_register_complex_read-and-user_data-free-on-e.patch
Description: Binary data
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
