From: caro Date: Wed, 7 Mar 2012 10:56:55 +0000 (+0000) Subject: Eina: fix leak on windows too X-Git-Tag: submit/2.0alpha-wayland/20121127.222009~217 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=241d67bb2afd600c20baab212edd87c535f3dad9;p=profile%2Fivi%2Feina.git Eina: fix leak on windows too git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@68926 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eina_file_win32.c b/src/lib/eina_file_win32.c index a6d6d12..f49402c 100644 --- a/src/lib/eina_file_win32.c +++ b/src/lib/eina_file_win32.c @@ -922,7 +922,7 @@ eina_file_open(const char *path, Eina_Bool shared) file = eina_hash_find(_eina_file_cache, filename); if (file && - (file->mtime == mtime.QuadPart && file->length == length.QuadPart)) + (file->mtime != mtime.QuadPart && file->length != length.QuadPart)) { file->delete_me = EINA_TRUE; eina_hash_del(_eina_file_cache, file->filename, file);