1
0
Fork 0

cleanup (deleting NULL pointers is explicitly allowed)

This commit is contained in:
mfranz 2005-05-02 06:03:25 +00:00
parent b68429c862
commit 34d23fe6f3

View file

@ -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;
}