msvcrt: Avoid locking the file in _fclose_nolock.

This commit is contained in:
Iván Matellanes 2014-11-03 22:40:45 +01:00 committed by Alexandre Julliard
parent 344bc6d72b
commit 20e0a6f20d
1 changed files with 1 additions and 1 deletions

View File

@ -3428,7 +3428,7 @@ int CDECL MSVCRT__fclose_nolock(MSVCRT_FILE* file)
file->_tmpfname = NULL;
/* flush stdio buffers */
if(file->_flag & MSVCRT__IOWRT)
MSVCRT_fflush(file);
MSVCRT__fflush_nolock(file);
if(file->_flag & MSVCRT__IOMYBUF)
MSVCRT_free(file->_base);