Removed the rest of my memory leaks.