X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsmart.c;h=2207bd6722449f4de11c3b89a976817ba8702558;hb=d561993fd1bfb93df203484c4c225aca8b45f041;hp=3b113bd33a2d45978622fc0512efe3e11f7eec38;hpb=8aad55ab7d737a97d5927458b2b00885e27cae4d;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);