From 657b197c193335899703fc158b153e2475cca539 Mon Sep 17 00:00:00 2001 From: timmywil Date: Wed, 25 May 2011 14:30:46 -0400 Subject: [PATCH] Null created elements in support to avoid leaks in IE. Tested IE6-8. Leaks are contained to the byte. Fixes #9294. --- src/support.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/support.js b/src/support.js index e0474e76..b500f900 100644 --- a/src/support.js +++ b/src/support.js @@ -245,6 +245,9 @@ jQuery.support = (function() { } } + // Null connected elements to avoid leaks in IE + marginDiv = div = input = null; + return support; })();