author | Florian Forster <octo@collectd.org> | |
Wed, 28 Aug 2013 13:19:48 +0000 (15:19 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 28 Aug 2013 13:19:48 +0000 (15:19 +0200) | ||
commit | 57bd4c578e337319d4a190311bb08ef98d0d7358 | |
tree | 779067223af9dcc16c157e70ec365a7848d705c0 | tree | snapshot |
parent | 3dcfbf12d5ec0b62bc540ac59944ddf50c37c1f2 | commit | diff |
cgroups plugin: Use cu_mount_checkoption().
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
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
src/cgroups.c | diff | blob | history |