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