Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libsensors: Commit

hardware/libsensors


Commit MetaInfo

Revisionac738e6df03b9e6f94d23ecbafc10c38a14cb92e (tree)
Zeit2016-07-25 17:07:20
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

iio-sensors: add the missing closedir

Ändern Zusammenfassung

Diff

--- a/iio-sensors.cpp
+++ b/iio-sensors.cpp
@@ -421,6 +421,7 @@ SensorPollContext::SensorPollContext(const struct hw_module_t *module, struct hw
421421 }
422422 }
423423 }
424+ closedir(dir);
424425 }
425426 ALOGD("%s: module=%p sensors: %d", __FUNCTION__, module, count);
426427 }
Show on old repository browser