summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore/ecore_events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_events.c b/src/lib/ecore/ecore_events.c
index 2a123a58fe..49cacd1f07 100644
--- a/src/lib/ecore/ecore_events.c
+++ b/src/lib/ecore/ecore_events.c
@@ -119,6 +119,8 @@ static Eina_Bool
119ecore_future_dispatched(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) 119ecore_future_dispatched(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
120{ 120{
121 Ecore_Future_Schedule_Entry *entry = event; 121 Ecore_Future_Schedule_Entry *entry = event;
122 EINA_SAFETY_ON_NULL_RETURN_VAL(entry, EINA_FALSE);
123
122 entry->event = NULL; 124 entry->event = NULL;
123 entry->cb(entry->future, entry->value); 125 entry->cb(entry->future, entry->value);
124 return EINA_FALSE; 126 return EINA_FALSE;