table plugin: Refactor realloc() calls.
authorFlorian Forster <octo@collectd.org>
Mon, 20 Nov 2017 13:26:41 +0000 (14:26 +0100)
committerFlorian Forster <octo@collectd.org>
Mon, 20 Nov 2017 13:26:43 +0000 (14:26 +0100)
commit69585ed1cc088314cf0800ebe5c579cc91475904
treef2dcf18c430869ce2f495f2329e412525800d23a
parentdfe33d435b2c29f7376507463700c5d4d07f3dfa
table plugin: Refactor realloc() calls.

Increase the number of elements in the successful path only, instead of
increasing it immediately and decreasing on error.
src/table.c