mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +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
1 changed files with 1 additions and 0 deletions
|
@ -618,6 +618,7 @@ FindClose (
|
||||||
CloseHandle (IData->DirectoryHandle);
|
CloseHandle (IData->DirectoryHandle);
|
||||||
if (IData->LockInitialized)
|
if (IData->LockInitialized)
|
||||||
RtlDeleteCriticalSection(&IData->Lock);
|
RtlDeleteCriticalSection(&IData->Lock);
|
||||||
|
IData->LockInitialized = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue