Bug 977803 - Release the fcntl lock during nsProfileLock::Unlock if it was acquired. r=bsmedberg

This commit is contained in:
Luca Niccoli 2014-02-28 09:11:38 -05:00
parent a980fa561b
commit 884d57d376

View File

@ -634,7 +634,7 @@ nsresult nsProfileLock::Unlock(bool aFatalSignal)
free(mPidLockFileName);
mPidLockFileName = nullptr;
}
else if (mLockFileDesc != -1)
if (mLockFileDesc != -1)
{
close(mLockFileDesc);
mLockFileDesc = -1;