X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsmart.c;h=2207bd6722449f4de11c3b89a976817ba8702558;hb=356901a4a8df5d6f40f9d03d2276d66fe9e13d17;hp=3b113bd33a2d45978622fc0512efe3e11f7eec38;hpb=e5980bd18554dc9472c49a12196a9d8f45a4bcf6;p=collectd.git diff --git a/src/smart.c b/src/smart.c index 3b113bd3..2207bd67 100644 --- a/src/smart.c +++ b/src/smart.c @@ -253,6 +253,7 @@ static int smart_read (void) /* Query status with libatasmart */ smart_handle_disk (devpath); + udev_device_unref (dev); } udev_enumerate_unref (enumerate);