X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsmart.c;h=a9c563eab96ada1ee46031617370f946f1a264e9;hb=a49ae41e44268b9972472e8355070c1299d18d5e;hp=3b113bd33a2d45978622fc0512efe3e11f7eec38;hpb=5b67c09d360b38efbdc002b58ae74f1b32240281;p=collectd.git diff --git a/src/smart.c b/src/smart.c index 3b113bd3..a9c563ea 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);