aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-07-05 19:53:13 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-07-05 19:53:13 +0900
commit5bd437fe2747b748e928d46791ec4e5a320df6f8 (patch)
treebf6bcc0ddf84fce0eb0732baa83dfdc1cd3a6abc
parentefl: Remove del_intercept before calling eo_del (diff)
downloadefl-5bd437fe2747b748e928d46791ec4e5a320df6f8.tar.gz
evas: Fix crash (?) in evas events
Reported by Shuhrat Dehkanov on the ML. See f0fd66ab818d212fa88faef316ac17625f1a2f5. Note: I didn't have a crash myself.
-rw-r--r--src/lib/evas/canvas/evas_events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index 28725f3553..6d4f24aa72 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -998,6 +998,7 @@ _evas_event_object_list_in_get(Evas *eo_e, Eina_List *in,
const Eina_Inlist *list, Evas_Object *stop,
int x, int y, int *no_rep, Eina_Bool source)
{
+ if (!list) return NULL;
return _evas_event_object_list_raw_in_get(eo_e, in, list->last, stop, x, y,
no_rep, source);
}