]> git.mxchange.org Git - flightgear.git/commit
Mathias Fröhlich:
authorehofman <ehofman>
Sat, 15 Oct 2005 14:51:52 +0000 (14:51 +0000)
committerehofman <ehofman>
Sat, 15 Oct 2005 14:51:52 +0000 (14:51 +0000)
commit54a33c3899f69edeb66818bf5b2a3af40d266058
treecc617279aa2b3b6de2df6ff84ab43dfe8951d100
parent2b57eb167ac4765c4767480dc149257cf6673ff5
Mathias Fröhlich:

I had a quick view over the ssgBase::ref() calls in flightgear.
I made them all symmetric and used ssgDeRefDelete to dereference them.
This has the basic advantage that ssgDeRefDelete additionaly deletes the
memory instead of just decrementing the reference cound without deletion ...

This includes an incorrect deref instead of a ssgDeRefDelete in the placement
transform registration I introduced earlier. I believe that this causes the
problems with long flights (unverified, but with a big propability).
src/AIModel/AIBase.cxx
src/ATC/AIEntity.cxx
src/ATC/AIMgr.cxx
src/Instrumentation/wxradar.cxx
src/Scenery/scenery.cxx