aboutsummaryrefslogtreecommitdiffstats
path: root/src/css
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2014-12-01 17:35:51 -0500
committerDave Methvin <dave.methvin@gmail.com>2014-12-02 15:01:45 -0500
commit7d15b4d1f181de8868c375c545a51e4dfc28a611 (patch)
treebd679c2e39991103a1787150ad130070e6d7975d /src/css
parentf7e60dc83d81cbf892de9dab39642dd67c49bd23 (diff)
downloadjquery-7d15b4d1f181de8868c375c545a51e4dfc28a611.tar.gz
jquery-7d15b4d1f181de8868c375c545a51e4dfc28a611.zip
CSS: Clean up memory leak in reliableMarginRight
Fixes gh-1795 Closes gh-1893 Thanks for the report flexphperia!
Diffstat (limited to 'src/css')
-rw-r--r--src/css/support.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/css/support.js b/src/css/support.js
index 4279d12e7..0adb5f325 100644
--- a/src/css/support.js
+++ b/src/css/support.js
@@ -83,6 +83,7 @@ define([
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
docElem.removeChild( container );
+ div.removeChild( marginDiv );
return ret;
}