forked from enlightenment/efl
eeze_sensor: Don't free the data passed in the callback ourself
The way ecore_event_add() is used in the sensor modules takes care of that already (not providing a free cb). Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
This commit is contained in:
parent
0bbd944672
commit
c2bdfae63e
|
@ -506,8 +506,6 @@ event_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
|
||||||
rc = eeze_sensor_timestamp_get(sens, ×tamp);
|
rc = eeze_sensor_timestamp_get(sens, ×tamp);
|
||||||
fail_if(rc == EINA_FALSE);
|
fail_if(rc == EINA_FALSE);
|
||||||
|
|
||||||
eeze_sensor_free(sens);
|
|
||||||
|
|
||||||
ecore_main_loop_quit();
|
ecore_main_loop_quit();
|
||||||
|
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue