summaryrefslogtreecommitdiff
path: root/src/modules/eeze
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-03-22 17:30:10 +0000
committerDaniel Willmann <d.willmann@samsung.com>2013-03-22 17:50:26 +0000
commit0bbd9446726791c167517989d3b7b56e3fa98eac (patch)
treed870bcadc4feab74d61437adfb8698c8595b35c4 /src/modules/eeze
parentc76440d55e179fcd88ccafbb189c4be14c811935 (diff)
eeze_sensor: Don't free the object we want to return asynchronously
The event callback will take care of freeing the object. This issue was found thanks to clangs -fsanitize=address option - coming to a CI job near you. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to 'src/modules/eeze')
-rw-r--r--src/modules/eeze/sensor/fake/fake.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/eeze/sensor/fake/fake.c b/src/modules/eeze/sensor/fake/fake.c
index 2bb10c150f..6ebbd32d5a 100644
--- a/src/modules/eeze/sensor/fake/fake.c
+++ b/src/modules/eeze/sensor/fake/fake.c
@@ -137,7 +137,6 @@ fake_async_read(Eeze_Sensor_Type sensor_type, void *user_data EINA_UNUSED)
137 free(obj); 137 free(obj);
138 return EINA_FALSE; 138 return EINA_FALSE;
139 } 139 }
140 free(obj);
141 return EINA_TRUE; 140 return EINA_TRUE;
142} 141}
143 142