summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortasn <tasn>2012-07-31 07:34:27 +0000
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2012-07-31 07:34:27 +0000
commit01b3b8cffade34d781ab2effc769aa5a647f1e4f (patch)
treea8cc43444a026b29d7a28850855e90b61e2f1858
parent507b52595bcd646ef806f5b6793c5555c70c6562 (diff)
downloadeobj-01b3b8cffade34d781ab2effc769aa5a647f1e4f.tar.gz
eobj-01b3b8cffade34d781ab2effc769aa5a647f1e4f.tar.bz2
eobj-01b3b8cffade34d781ab2effc769aa5a647f1e4f.zip
Eo: Also fix the case when the chain is not allocated.
Continuation to previous commit. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
-rw-r--r--src/lib/eo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo.c b/src/lib/eo.c
index 5e95291..d2e8f32 100644
--- a/src/lib/eo.c
+++ b/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;