forked from enlightenment/efl
Remove the directory from the font_first hash First, before calling
object_text_font_cache_dir_del as the latter function will actually Free the fd. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
077aee9cef
commit
8810f69914
|
@ -878,8 +878,8 @@ object_text_font_cache_dir_update(char *dir, Evas_Font_Dir *fd)
|
|||
}
|
||||
if (mt != fd->fonts_alias_mod_time)
|
||||
{
|
||||
object_text_font_cache_dir_del(dir, fd);
|
||||
eina_hash_del(font_dirs, dir, fd);
|
||||
object_text_font_cache_dir_del(dir, fd);
|
||||
}
|
||||
else
|
||||
return fd;
|
||||
|
|
Loading…
Reference in New Issue