forked from enlightenment/efl
edje_cache: remove duplicated call of _edje_file_coll_open
Summary: _edje_file_coll_open will be executed after _edje_file_open is finished. This duplicatated call will increase the reference counter and give failure of _edje_cache_coll_unref. @fix Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3075 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
6416997382
commit
e9e91e8a41
|
@ -319,16 +319,6 @@ _edje_file_open(const Eina_File *f, const char *coll, int *error_ret, Edje_Part_
|
|||
if (cc->name)
|
||||
eina_hash_direct_add(edf->color_hash, cc->name, cc);
|
||||
|
||||
if (coll)
|
||||
{
|
||||
edc = _edje_file_coll_open(edf, coll);
|
||||
if (!edc)
|
||||
{
|
||||
*error_ret = EDJE_LOAD_ERROR_UNKNOWN_COLLECTION;
|
||||
}
|
||||
if (edc_ret) *edc_ret = edc;
|
||||
}
|
||||
|
||||
return edf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue