Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libsensors: Commit

hardware/libsensors


Commit MetaInfo

Révisionac738e6df03b9e6f94d23ecbafc10c38a14cb92e (tree)
l'heure2016-07-25 17:07:20
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

iio-sensors: add the missing closedir

Change Summary

Modification

--- 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 }
Afficher sur ancien navigateur de dépôt.