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

1.7/enhancement_8685
timmywil 2011-05-25 14:30:46 -04:00
parent a5396bde70
commit 657b197c19
1 changed files with 3 additions and 0 deletions

View File

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