Removed an extra free that was causing crash on exit.