statsd plugin: Correctly free metrics at shutdown.
authorFlorian Forster <octo@collectd.org>
Wed, 25 Nov 2015 10:51:04 +0000 (11:51 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 25 Nov 2015 10:56:37 +0000 (11:56 +0100)
commit4a16427cc827e7be32c4ed672a17bbb7cade284b
treeab635ffebd133113162c1ad9112ccee72360d0df
parentc68a61a08267319ebfeddd372ab16124c592b288
statsd plugin: Correctly free metrics at shutdown.

The previous shutdown handler leaked "timer" and "set" metrics. This is
not a huge problem in itself, as the daemon is exiting shortly after
anyway, but it makes debugging of memory leaks very hard.

Issue: #997
src/statsd.c