mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
don't delete the CriticalSection twice when FindClose is called twice - fixes a crash in Photoshop CS installer
svn path=/trunk/; revision=30425
This commit is contained in:
@@ -618,6 +618,7 @@ FindClose (
|
||||
CloseHandle (IData->DirectoryHandle);
|
||||
if (IData->LockInitialized)
|
||||
RtlDeleteCriticalSection(&IData->Lock);
|
||||
IData->LockInitialized = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user