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 0d6f42491d
commit 5b6cc58518

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;