Piotr Caban : msvcrt: Don' t call DeleteCriticalSection on static critical section.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 16 08:37:19 CDT 2015
Module: wine
Branch: master
Commit: 2294d3ba456921e83fa5970e0e62855614c9c30c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2294d3ba456921e83fa5970e0e62855614c9c30c
Author: Piotr Caban <piotr at codeweavers.com>
Date: Thu Jul 16 13:07:51 2015 +0200
msvcrt: Don't call DeleteCriticalSection on static critical section.
---
dlls/msvcrt/file.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 241c337..44aa32e 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -1197,8 +1197,6 @@ void msvcrt_free_io(void)
for(i=0; i<sizeof(MSVCRT_fstream)/sizeof(MSVCRT_fstream[0]); i++)
MSVCRT_free(MSVCRT_fstream[i]);
-
- DeleteCriticalSection(&MSVCRT_file_cs);
}
/*********************************************************************
More information about the wine-cvs
mailing list