Code

write_prometheus plugin: Fix incorrect use of realloc().
authorFlorian Forster <octo@collectd.org>
Fri, 12 May 2017 11:05:37 +0000 (13:05 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 12 May 2017 11:06:30 +0000 (13:06 +0200)
commit9a1a776fd790728f1158e65259dbecc8c43e34c9
treee38012d04dd3908c166ae9cf94f654e87b02b335
parent632cca47086de6cb23c32fc35802da1a19f40875
write_prometheus plugin: Fix incorrect use of realloc().

Calling realloc(ptr, 0) is undefined. Call free() explicitly.
src/write_prometheus.c