eina: continue to check for magic.

This commit is contained in:
Cedric BAIL 2017-10-05 09:28:13 -07:00
parent 7b7161ea13
commit 674a75ca8b
1 changed files with 2 additions and 0 deletions

View File

@ -519,6 +519,8 @@ eina_file_close(Eina_File *file)
unsigned int key;
if (!file) return ;
EINA_FILE_MAGIC_CHECK(file);
eina_lock_take(&_eina_file_lock_cache);
eina_lock_take(&file->lock);