From: englebass Date: Tue, 17 Mar 2009 13:39:23 +0000 (+0000) Subject: Check whether functions exist before executing them. X-Git-Tag: 2.0_alpha~240^2~2552 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc8c966eacbf83abf000768d778c57eb6d0800c1;p=framework%2Fuifw%2Fevas.git Check whether functions exist before executing them. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39521 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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) {