transit - added one more exception handling.
authorchuneon.park <chuneon.park@samsung.com>
Sun, 1 May 2011 07:52:13 +0000 (16:52 +0900)
committerchuneon.park <chuneon.park@samsung.com>
Sun, 1 May 2011 07:52:13 +0000 (16:52 +0900)
src/lib/elm_transit.c

index db8623f..5660c95 100644 (file)
@@ -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);