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.
This commit is contained in:
Carsten Haitzler 2016-10-14 16:20:22 +09:00
parent 8b7f060946
commit ed1101d994
1 changed files with 1 additions and 0 deletions

View File

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