Author: cwittich
Date: Tue Nov 13 19:50:44 2007
New Revision: 30425
URL:
http://svn.reactos.org/svn/reactos?rev=30425&view=rev
Log:
don't delete the CriticalSection twice when FindClose is called twice - fixes a crash
in Photoshop CS installer
Modified:
trunk/reactos/dll/win32/kernel32/file/find.c
Modified: trunk/reactos/dll/win32/kernel32/file/find.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/fi…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/find.c (original)
+++ trunk/reactos/dll/win32/kernel32/file/find.c Tue Nov 13 19:50:44 2007
@@ -618,6 +618,7 @@
CloseHandle (IData->DirectoryHandle);
if (IData->LockInitialized)
RtlDeleteCriticalSection(&IData->Lock);
+ IData->LockInitialized = FALSE;
break;
}