From b0cd31415acdabcd5011d6207b5f75c8733948cb Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 10 Dec 2007 19:17:57 +0000 Subject: [PATCH] Tatsuhiro NISHIOKA: initialize classes (fixes segfault on exit on MacOS) --- src/Main/globals.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index 531308068..ecea15d0c 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -78,10 +78,12 @@ FGGlobals::FGGlobals() : time_params( NULL ), ephem( NULL ), mag( NULL ), + matlib( NULL ), route_mgr( NULL ), current_panel( NULL ), soundmgr( NULL ), airports( NULL ), + runways( NULL ), ATC_mgr( NULL ), AI_mgr( NULL ), controls( NULL ), @@ -105,8 +107,11 @@ FGGlobals::FGGlobals() : dmelist( NULL ), mkrlist( NULL ), tacanlist( NULL ), - carrierlist( NULL ), - fixlist( NULL ) + carrierlist( NULL ), + channellist( NULL ), + fixlist( NULL ), + airwaynet( NULL ), + multiplayer_mgr( NULL ) { }