Eo: Also fix the case when the chain is not allocated.
authortasn <tasn>
Tue, 31 Jul 2012 07:34:27 +0000 (07:34 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 31 Jul 2012 07:34:27 +0000 (07:34 +0000)
Continuation to previous commit.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eo.c

index 5e95291..d2e8f32 100644 (file)
@@ -288,7 +288,7 @@ _eo_kls_itr_next(const Eo_Class *orig_kls, Eo_Kls_Itr *cur, Eo_Kls_Itr *prev_sta
         while (*kls_itr)
           {
              const op_type_funcs *fsrc = _dich_func_get(*kls_itr, op);
-             if (!fsrc->func)
+             if (!fsrc || !fsrc->func)
                {
                   kls_itr++;
                   continue;