From: rinigus Date: Fri, 8 Jul 2016 12:36:37 +0000 (+0300) Subject: disk plugin: release udev-based name. Fixes #1781 X-Git-Tag: collectd-5.6.0~202^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d0a7e61387d17180cf60dafb56e2afbf5b229ec2;p=collectd.git disk plugin: release udev-based name. Fixes #1781 --- diff --git a/src/disk.c b/src/disk.c index 292f6e29..9965bca7 100644 --- a/src/disk.c +++ b/src/disk.c @@ -896,7 +896,7 @@ static int disk_read (void) { #if HAVE_LIBUDEV /* release udev-based alternate name, if allocated */ - sfree (output_name); + sfree (alt_name); #endif continue; }