From 7627243194f0c3293a37e8a105e72a4c4714c959 Mon Sep 17 00:00:00 2001 From: hermet Date: Sun, 1 May 2011 07:49:24 +0000 Subject: [PATCH] elementary / transit - added one exception handling. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59074 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_transit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c index db8623f..5660c95 100644 --- a/src/lib/elm_transit.c +++ b/src/lib/elm_transit.c @@ -140,6 +140,7 @@ _elm_transit_object_remove_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, { Elm_Transit *transit = data; Elm_Obj_Data *obj_data = evas_object_data_del(obj, _transit_key); + if (!obj_data) return; evas_object_pass_events_set(obj, obj_data->pass_events); if (obj_data->state) free(obj_data->state); -- 2.7.4