AVALANCHE: Repair memory leaks in Dropdown.