Eo: Also fix the case when the chain is not allocated.

Continuation to previous commit.

SVN revision: 74619
devs/devilhorns/wayland_egl
Tom Hacohen 11 years ago
parent 4540fa9d0f
commit ab7104e4ae
  1. 2
      legacy/eobj/src/lib/eo.c

@ -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;

Loading…
Cancel
Save