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:
Chris Michael 2013-08-05 14:07:11 +01:00
parent 077aee9cef
commit 8810f69914
1 changed files with 1 additions and 1 deletions

View File

@ -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;