]> source.dussan.org Git - jquery.git/commitdiff
Null created elements in support to avoid leaks in IE. Tested IE6-8. Leaks are contai...
authortimmywil <tim.willison@thisismedium.com>
Wed, 25 May 2011 18:30:46 +0000 (14:30 -0400)
committertimmywil <tim.willison@thisismedium.com>
Wed, 25 May 2011 18:30:46 +0000 (14:30 -0400)
src/support.js

index e0474e7632e48f0384af43c749def0c8ef247c3f..b500f9009f8eb0504daa8a6150a7a8dcebb2d0de 100644 (file)
@@ -245,6 +245,9 @@ jQuery.support = (function() {
                }
        }
 
+       // Null connected elements to avoid leaks in IE
+       marginDiv = div = input = null;
+
        return support;
 })();