author | Florian Forster <octo@collectd.org> | |
Wed, 21 Sep 2016 09:32:20 +0000 (11:32 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 21 Sep 2016 09:32:20 +0000 (11:32 +0200) | ||
commit | d54dc98aff7fe748d83fc91b0fed685db990e3de | |
tree | 3369ffa8c4eeeba6c20315ed3abf2a40da323658 | tree | snapshot |
parent | d462e6079da22bb7a1b5ea53aff9a04b3b2f2af2 | commit | diff |
src/daemon/plugin.c: Don't copy values twice.
A copy of the values was made in plugin_dispatch_values_internal(). This
code predates the "write queue", which means that each value list (and
its values) are copied anyway and vl->values will always point to heap
memory.
A copy of the values was made in plugin_dispatch_values_internal(). This
code predates the "write queue", which means that each value list (and
its values) are copied anyway and vl->values will always point to heap
memory.
src/daemon/plugin.c | diff | blob | history |