diogogmt/mozilla-central — comment on commit 028e1e9b01c62c394c1d9b7160247826d061dc74
File: dom/base/nsDOMMouseLockable.cpp line 73
By diogogmt:

That's is just some code I wrote to test if MouseLock was getting the correct fullscreen status. It's not part of the islocked method.
Would the lock method do something similar to check the full screen status? If that's the case we would need to deallocate the variable.