fix Issue 12915 - RedBlackTree leaks memory