Removed two memory leaks (oh man)