diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2009-04-22 20:00:30 +0000 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2009-04-22 20:00:30 +0000 |
commit | 1bd4325cb979ed66588d6b3454b3eb4291a47151 (patch) | |
tree | 9137eb21bebaaa5a26e7248f4cba6db6f90911bc /src | |
parent | 432ea4ca6cbd63cd972718d3a44772fe8ef1022b (diff) | |
download | jquery-1bd4325cb979ed66588d6b3454b3eb4291a47151.tar.gz jquery-1bd4325cb979ed66588d6b3454b3eb4291a47151.zip |
fixing a few more memory leaks in IE
Diffstat (limited to 'src')
-rw-r--r-- | src/offset.js | 2 | ||||
-rw-r--r-- | src/support.js | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/offset.js b/src/offset.js index 964844e7d..0a8b9e64f 100644 --- a/src/offset.js +++ b/src/offset.js @@ -75,6 +75,8 @@ jQuery.offset = { body.removeChild( container ); jQuery.offset.initialize = function(){}; + + body = container = innerDiv = checkDiv = table = td = null; }, bodyOffset: function(body) { diff --git a/src/support.js b/src/support.js index 891aa7af1..18c494d51 100644 --- a/src/support.js +++ b/src/support.js @@ -88,10 +88,11 @@ document.body.appendChild( div ); jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; document.body.removeChild( div ).style.display = 'none'; + div = null; }); // release memory in IE - div = null; + root = script = div = all = a = null; })(); jQuery.props = { |