devilhorns pushed a commit to branch master.

commit 8810f69914056a5ee54253c39aeefce4fa22ae4b
Author: Chris Michael <[email protected]>
Date:   Mon Aug 5 14:07:11 2013 +0100

    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 <[email protected]>
---
 src/lib/evas/canvas/evas_font_dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_font_dir.c 
b/src/lib/evas/canvas/evas_font_dir.c
index 00836a3..70d3f9a 100644
--- a/src/lib/evas/canvas/evas_font_dir.c
+++ b/src/lib/evas/canvas/evas_font_dir.c
@@ -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;

-- 

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

Reply via email to