From cffa04b43eb0f3e16e2b108d770b533d50e4dfa1 Mon Sep 17 00:00:00 2001 From: englebass Date: Tue, 17 Mar 2009 13:39:23 +0000 Subject: [PATCH] Check whether functions exist before executing them. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39521 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_image_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/engines/common/evas_image_load.c b/src/lib/engines/common/evas_image_load.c index 27b2eef..01aae46 100644 --- a/src/lib/engines/common/evas_image_load.c +++ b/src/lib/engines/common/evas_image_load.c @@ -77,7 +77,7 @@ evas_common_load_rgba_image_module_from_file(Image_Entry *ie) if (!evas_module_load(em)) continue; evas_image_load_func = em->functions; evas_module_use(em); - if (evas_image_load_func->file_head(ie, ie->file, ie->key)) + if (evas_image_load_func && evas_image_load_func->file_head(ie, ie->file, ie->key)) { if (evas_modules != l) { -- 2.7.4