forked from enlightenment/efl
edje - + NULL check
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com) SVN revision: 69637
This commit is contained in:
parent
67e350ba1d
commit
d905ebda6a
|
@ -126,7 +126,7 @@ edje_file_group_exists(const char *file, const char *glob)
|
||||||
Eina_Bool is_glob = EINA_FALSE;
|
Eina_Bool is_glob = EINA_FALSE;
|
||||||
const char *p;
|
const char *p;
|
||||||
|
|
||||||
if ((!file) || (!*file))
|
if ((!file) || (!*file) || (!glob))
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
||||||
edf = _edje_cache_file_coll_open(file, NULL, &error_ret, NULL);
|
edf = _edje_cache_file_coll_open(file, NULL, &error_ret, NULL);
|
||||||
|
|
Loading…
Reference in New Issue