Backed out changeset 46b6cb002a34 (bug 1036849) for leaks on a CLOSED TREE