Tested program for memory leaks.