We could leak here if the next condition is true. And more important we calloc
in just 6 lines below again. From the log it seems this was just not catched
in a rewrite of this part of the code.
SVN revision: 77319
when the screensaver cycle interval passes. That is not what we are
interested in here. We only need to know when the screensaver
NB: This cuts cpu usage down incredibly when screensavers are set with
a short timeout.
SVN revision: 77310
Really free the list with sensor modules when shutting down. No idea how I
dropped that as I found it in one old local version I had. Thanks to Mike
for the notice and valgrind for the tooling.
Also make sure we don't corrupt the list before we can free it.
SVN revision: 77291
Seconds is not really a suitable resolution for sensor data read outs. This
also aligns it with the tizen module and the public API.
The sleep is no longer needed in the test program either.
SVN revision: 77191
All data for the public API have moved into other data structures. This one
is only needed for internal housekeeping now. Thus move it into the pivate
header file so it does not confuse people.
SVN revision: 77190