Bug 385839. Password manager leaks on shutdown. Fix sloppy variable declaration.

This commit is contained in:
sayrer@gmail.com 2007-06-25 19:20:47 -07:00
parent 920d401ea7
commit 3b82cc8fa8

View File

@ -263,7 +263,7 @@ LoginManager.prototype = {
this._pwmgr.log("Oops! Pref not handled, change ignored.");
}
} else if (topic == "xpcom-shutdown") {
for (i in this._pwmgr) {
for (let i in this._pwmgr) {
try {
this._pwmgr[i] = null;
} catch(ex) {}