Fix possible mem-leak in BST