X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsmart.c;h=2207bd6722449f4de11c3b89a976817ba8702558;hb=e0e307657d6b751d6beb5afb92c9359a6df7f5e8;hp=3b113bd33a2d45978622fc0512efe3e11f7eec38;hpb=9817e7298bd6c364fa17347327af54adf048bd21;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);