diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index 4a3377ed0..1559a9600 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -98,11 +98,7 @@ FGGlobals::~FGGlobals() delete commands; delete io; delete renderer; - - // make sure only to delete the initial waypoints list if it acually - // still exists. - if (initial_waypoints) - delete initial_waypoints; + delete initial_waypoints; }