Null created elements in support to avoid leaks in IE. Tested IE6-8. Leaks are contained to the byte. Fixes #9294.

This commit is contained in:
timmywil 2011-05-25 14:30:46 -04:00
parent a5396bde70
commit 657b197c19

View File

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