AppleRun: Fixed a memory leak