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

Continuation to previous commit.

SVN revision: 74619
This commit is contained in:
Tom Hacohen 2012-07-31 07:34:27 +00:00
parent 4540fa9d0f
commit ab7104e4ae
1 changed files with 1 additions and 1 deletions

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