OSDN Git Service
(root)
/
android-x86
/
hardware-libsensors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083a638
)
iio-sensors: add the missing closedir
marshmallow-x86
android-x86-6.0-r1
android-x86-6.0-r2
android-x86-6.0-r3
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 25 Jul 2016 08:07:20 +0000
(16:07 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 25 Jul 2016 08:07:20 +0000
(16:07 +0800)
iio-sensors.cpp
patch
|
blob
|
history
diff --git
a/iio-sensors.cpp
b/iio-sensors.cpp
index
230ccb7
..
d4ffa04
100644
(file)
--- a/
iio-sensors.cpp
+++ b/
iio-sensors.cpp
@@
-421,6
+421,7
@@
SensorPollContext::SensorPollContext(const struct hw_module_t *module, struct hw
}
}
}
+ closedir(dir);
}
ALOGD("%s: module=%p sensors: %d", __FUNCTION__, module, count);
}