entrance: better check if pre is valid

devs/bu5hm4n/develop
Marcel Hollerbach 8 years ago
parent 6c82c43b00
commit 3acd4a1ea3
  1. 2
      src/bin/entrance_conf_theme.c

@ -474,7 +474,7 @@ _entrance_tp_del(Evas_Object *obj)
Entrance_Theme_Preview *pre = evas_object_smart_data_get(obj);
String_Animation *ani;
if (pre->active_timer)
if ((pre) && pre->active_timer)
{
ani = ecore_timer_del(pre->active_timer);
free(ani);

Loading…
Cancel
Save