Elitism Memory Leak Fixed

Fixed the memory leak