mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 977803 - Release the fcntl lock during nsProfileLock::Unlock if it was acquired. r=bsmedberg
This commit is contained in:
parent
a980fa561b
commit
884d57d376
@ -634,7 +634,7 @@ nsresult nsProfileLock::Unlock(bool aFatalSignal)
|
||||
free(mPidLockFileName);
|
||||
mPidLockFileName = nullptr;
|
||||
}
|
||||
else if (mLockFileDesc != -1)
|
||||
if (mLockFileDesc != -1)
|
||||
{
|
||||
close(mLockFileDesc);
|
||||
mLockFileDesc = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user