hardware/libsensors
Revision | ac738e6df03b9e6f94d23ecbafc10c38a14cb92e (tree) |
---|---|
Zeit | 2016-07-25 17:07:20 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
iio-sensors: add the missing closedir
@@ -421,6 +421,7 @@ SensorPollContext::SensorPollContext(const struct hw_module_t *module, struct hw | ||
421 | 421 | } |
422 | 422 | } |
423 | 423 | } |
424 | + closedir(dir); | |
424 | 425 | } |
425 | 426 | ALOGD("%s: module=%p sensors: %d", __FUNCTION__, module, count); |
426 | 427 | } |