Skip to content

Commit 56462c2

Browse files
committed
fix: leak local variable
1 parent 2a315ec commit 56462c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/content/liberator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ const Liberator = Module("liberator", {
577577
const ps = new DOMParser;
578578
const encoder = Cc["@mozilla.org/layout/documentEncoder;1?type=text/xml"].getService(Ci.nsIDocumentEncoder);
579579
encoder.init(document, "text/xml", 0);
580-
body = xml.map([con for ([,con] in Iterator(plugins.contexts))], function (context) {
580+
var body = xml.map([con for ([,con] in Iterator(plugins.contexts))], function (context) {
581581
try { // debug
582582
var info = context.INFO;
583583
if (!info) return "";

0 commit comments

Comments
 (0)