diff --git a/src/smart.c b/src/smart.c
index 3b113bd33a2d45978622fc0512efe3e11f7eec38..2207bd6722449f4de11c3b89a976817ba8702558 100644 (file)
--- a/src/smart.c
+++ b/src/smart.c
/* Query status with libatasmart */
smart_handle_disk (devpath);
+ udev_device_unref (dev);
}
udev_enumerate_unref (enumerate);