edje - + NULL check
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 26 Mar 2012 12:44:33 +0000 (12:44 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 26 Mar 2012 12:44:33 +0000 (12:44 +0000)
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@69637 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_load.c

index b63cd88..fc2aea3 100644 (file)
@@ -126,7 +126,7 @@ edje_file_group_exists(const char *file, const char *glob)
    Eina_Bool is_glob = EINA_FALSE;
    const char *p;
 
-   if ((!file) || (!*file))
+   if ((!file) || (!*file) || (!glob))
       return EINA_FALSE;
 
    edf = _edje_cache_file_coll_open(file, NULL, &error_ret, NULL);