mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 977803 - Release the fcntl lock during nsProfileLock::Unlock if it was acquired. r=bsmedberg
This commit is contained in:
parent
0d6f42491d
commit
5b6cc58518
@ -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…
x
Reference in New Issue
Block a user