From: Florian Forster Date: Thu, 17 Dec 2015 12:34:12 +0000 (+0100) Subject: zfs_arc plugin: Plug memory leak on Linux. X-Git-Tag: collectd-5.5.1~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=879a770744e7d049389f52a5104c79d795037578;p=collectd.git zfs_arc plugin: Plug memory leak on Linux. CID: 42796 Signed-off-by: Florian Forster --- diff --git a/src/zfs_arc.c b/src/zfs_arc.c index 86e7d4c5..ab5cd64d 100644 --- a/src/zfs_arc.c +++ b/src/zfs_arc.c @@ -211,6 +211,7 @@ static int za_read (void) if (llvalues == NULL) { ERROR ("zfs_arc plugin: `malloc' failed."); + llist_destroy (ksp); return (-1); } int j = 0;