Bug 776914 - msvc nullptr fix for nsProfileLock. r=bbondy

This commit is contained in:
Jim Mathies 2012-07-25 04:22:18 -05:00
parent 1fa82b5b80
commit d91d34fe94

View File

@ -579,7 +579,7 @@ nsresult nsProfileLock::Lock(nsIFile* aProfileDir,
0, // no sharing - of course
nsnull,
CREATE_ALWAYS,
nsnull,
0,
nsnull);
if (mLockFileHandle == INVALID_HANDLE_VALUE) {
// XXXbsmedberg: provide a profile-unlocker here!