bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=3acd4a1ea38d00dfe425a609c366da1186a7c65e

commit 3acd4a1ea38d00dfe425a609c366da1186a7c65e
Author: Marcel Hollerbach <[email protected]>
Date:   Thu May 29 19:36:22 2014 +0200

    entrance: better check if pre is valid
---
 src/bin/entrance_conf_theme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/entrance_conf_theme.c b/src/bin/entrance_conf_theme.c
index 7193911..8c59a66 100644
--- a/src/bin/entrance_conf_theme.c
+++ b/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);

-- 


Reply via email to