bunch of memory leaks that had accumulated over the years. FlightGear doesn't currently bother to destroy and recreate a YASim context, but at least it can do so now without worry.