Eliminated a memory leak.
Cleaned up code; eliminated memory leaks.