CSS: Clean up memory leak in reliableMarginRight

Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
This commit is contained in:
Dave Methvin 2014-12-01 17:35:51 -05:00
parent f7e60dc83d
commit 7d15b4d1f1

View File

@ -83,6 +83,7 @@ define([
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight ); ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
docElem.removeChild( container ); docElem.removeChild( container );
div.removeChild( marginDiv );
return ret; return ret;
} }