Permalink
Browse files

CSS: Clean up memory leak in reliableMarginRight

Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
  • Loading branch information...
dmethvin committed Dec 1, 2014
1 parent f7e60dc commit 7d15b4d1f181de8868c375c545a51e4dfc28a611
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/css/support.js
View
@@ -83,6 +83,7 @@ define([
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
docElem.removeChild( container );
+ div.removeChild( marginDiv );
return ret;
}

0 comments on commit 7d15b4d

Please sign in to comment.