From 4459cdb137e0eef7075c739034b00c33c5316a31 Mon Sep 17 00:00:00 2001 From: Joe Walker Date: Tue, 15 May 2012 11:27:19 +0100 Subject: [PATCH] Bug 752906 - Fix GCLI memory cleanup issues found during Developer Toolbar memory work; r=dcamp --- browser/devtools/webconsole/gcli.jsm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/browser/devtools/webconsole/gcli.jsm b/browser/devtools/webconsole/gcli.jsm index a5f19f379ad..34cfc0c866a 100644 --- a/browser/devtools/webconsole/gcli.jsm +++ b/browser/devtools/webconsole/gcli.jsm @@ -8012,8 +8012,8 @@ function Menu(options) { */ Menu.prototype.destroy = function() { delete this.element; - delete this.items; delete this.template; + delete this.document; }; /** @@ -9835,8 +9835,6 @@ Tooltip.prototype.destroy = function() { delete this.descriptionEle; delete this.highlightEle; - delete this.field; - delete this.focusManager; delete this.document; delete this.element; delete this.panelElement;