projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1455 from rubenk/configure-ac-remove-dead-code
[collectd.git]
/
src
/
smart.c
diff --git
a/src/smart.c
b/src/smart.c
index
3b113bd
..
2207bd6
100644
(file)
--- 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);
/* Query status with libatasmart */
smart_handle_disk (devpath);
+ udev_device_unref (dev);
}
udev_enumerate_unref (enumerate);
}
udev_enumerate_unref (enumerate);