cgroups plugin: Use cu_mount_checkoption().
authorFlorian Forster <octo@collectd.org>
Wed, 28 Aug 2013 13:19:48 +0000 (15:19 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 28 Aug 2013 13:19:48 +0000 (15:19 +0200)
cu_mount_checkoption() behaves a bit like strstr() in that it returns a pointer
into the buffer. cu_mount_getoptionvalue() allocated memory that was never
freed, slowly leaking memory (although very little).

Github: #412


No differences found