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:
Daniel Willmann 2013-03-22 18:32:38 +00:00
parent 0bbd944672
commit c2bdfae63e
1 changed files with 0 additions and 2 deletions

View File

@ -506,8 +506,6 @@ event_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
rc = eeze_sensor_timestamp_get(sens, &timestamp);
fail_if(rc == EINA_FALSE);
eeze_sensor_free(sens);
ecore_main_loop_quit();
return EINA_FALSE;