]> git.mxchange.org Git - flightgear.git/commit
Miscellaneous tweaks and Bugfixes. Mostly memory leaks ported from the plib
authordurk <durk>
Sat, 20 Oct 2007 08:36:21 +0000 (08:36 +0000)
committerdurk <durk>
Sat, 20 Oct 2007 08:36:21 +0000 (08:36 +0000)
commitf5e9e1898fee4217af4142dbac50960f1391855b
treed7ac85a9b6da6ea8eed11def930d4d100d69fc8c
parent6d3ff7b125ba48d5844e295df0d0128f90a4eeaf
Miscellaneous tweaks and Bugfixes. Mostly memory leaks ported from the plib
version
* Delete ai list objects in ~ATC/AIMgr.cxx:AIMgr::~AIMgr()
* Delete colors in GUI/new_gui.cxx: NewGui::~NewGui.cxx
* Delete memory allocated to the class member "route" in
  Instrumentation/gps.cxx
* Delete all globals (except a few "unsafe" ones that still cause segfaults
  and need further examination.
* Use an SGShared pointer for navaid memory allocation, so that pointers to
  individual navaid objects can be included safely in multiple navaid lists
src/ATC/AIMgr.cxx
src/GUI/new_gui.cxx
src/Instrumentation/gps.cxx
src/Main/globals.cxx
src/Navaids/navlist.cxx
src/Navaids/navlist.hxx
src/Navaids/navrecord.hxx