e: prevent some crash here.
authorCedric BAIL <cedric.bail@free.fr>
Wed, 4 Jul 2012 12:01:12 +0000 (12:01 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Wed, 4 Jul 2012 12:01:12 +0000 (12:01 +0000)
SVN revision: 73270

src/modules/comp/e_mod_comp.c

index 254abc3..0a56a41 100644 (file)
@@ -858,6 +858,7 @@ _e_mod_comp_cb_update(E_Comp *c)
    Eina_List *update_done = NULL;
 //   static int doframeinfo = -1;
 
+   if (!c) return EINA_FALSE;
    c->update_job = NULL;
    DBG("UPDATE ALL\n");
    if (c->nocomp) goto nocomp;