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

This commit is contained in:
Jim Mathies 2012-07-24 15:07:41 -05:00
parent b88cddbe9c
commit fb60d2aef9

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!