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:
parent
a5396bde70
commit
657b197c19
|
@ -245,6 +245,9 @@ jQuery.support = (function() {
|
|||
}
|
||||
}
|
||||
|
||||
// Null connected elements to avoid leaks in IE
|
||||
marginDiv = div = input = null;
|
||||
|
||||
return support;
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in a new issue