raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ed1101d9945f358c085be921649485249981ef59

commit ed1101d9945f358c085be921649485249981ef59
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Oct 14 16:20:22 2016 +0900

    fix possible eina file shutdown issue
    
    i am not sure as i cannto reproduce this, but i hope this fixes T4677
    by ensuring if eina_file_shutdown is called it cannto double-free a
    hash.
---
 src/lib/eina/eina_file_common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 2639db4..5cbed8c 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -1054,6 +1054,7 @@ eina_file_shutdown(void)
      }
 
    eina_hash_free(_eina_file_cache);
+   _eina_file_cache = NULL;
 
    eina_lock_free(&_eina_file_lock_cache);
 

-- 


Reply via email to