From d0a7e61387d17180cf60dafb56e2afbf5b229ec2 Mon Sep 17 00:00:00 2001 From: rinigus Date: Fri, 8 Jul 2016 15:36:37 +0300 Subject: [PATCH] disk plugin: release udev-based name. Fixes #1781 --- src/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2