author | Florian Forster <octo@collectd.org> | |
Wed, 3 Aug 2016 19:35:36 +0000 (21:35 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 3 Aug 2016 19:43:58 +0000 (21:43 +0200) | ||
commit | cd2238b8b4f4ecd80c45862b5aeed3d3d73eddfe | |
tree | fc340dfa28a5e8bf47a338006c02072349b8ce37 | tree | snapshot |
parent | 9c9615b85fc73879d6d411b8f3bff5796d831fad | commit | diff |
write_http plugin: Be extra conservative in wh_reset_buffer().
This function is called from wh_callback_free() which is used to clean up after
?alloc() failures, so the "send_buffer" field may actually be NULL.
Issue: #1835
This function is called from wh_callback_free() which is used to clean up after
?alloc() failures, so the "send_buffer" field may actually be NULL.
Issue: #1835
src/write_http.c | diff | blob | history |