Removed two memory holes that resulted from missing free() calls.