Code

src/utils_cache.c: Fix two memory leaks.
authorFlorian Forster <octo@collectd.org>
Fri, 19 Jun 2015 05:05:22 +0000 (07:05 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 19 Jun 2015 05:11:04 +0000 (07:11 +0200)
commit813fadc54fbf0c9b948163851e9791a1ace716ae
treeb26d57438dfc4b084cf4c9c217a43b8bd9330374
parent0c62bc40d4058f95dc6f3eff9da32befe4925751
src/utils_cache.c: Fix two memory leaks.

* Free "times" pointer if it is not returned to the user.
* Free (re)alloc'ed pointers when strdup() fails.
src/utils_cache.c