From ed1101d9945f358c085be921649485249981ef59 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 14 Oct 2016 16:20:22 +0900 Subject: [PATCH] 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); -- 2.7.4