mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +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:
parent
845f7f54d2
commit
9d3f29f8f2
|
@ -618,6 +618,7 @@ FindClose (
|
|||
CloseHandle (IData->DirectoryHandle);
|
||||
if (IData->LockInitialized)
|
||||
RtlDeleteCriticalSection(&IData->Lock);
|
||||
IData->LockInitialized = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue