]> git.mxchange.org Git - flightgear.git/commit
Fix memory leak introduced when we stopped using _context for script
authorandy <andy>
Wed, 24 Oct 2007 18:07:02 +0000 (18:07 +0000)
committerandy <andy>
Wed, 24 Oct 2007 18:07:02 +0000 (18:07 +0000)
commit6432d714cc825b5cc8aafcbb90b02ac8a9b8313a
treef6af49185689bf9b90eabcca1f2d4e489701e2c7
parent44a1dbf090ad5df1f59aba96461e0bf457199f3d
Fix memory leak introduced when we stopped using _context for script
invocations, but left it in place for miscellaneous allocation work.
Contexts cache allocated objects in a temps vector and only clear it
out when they are used.

Also, fix a type warning while I'm in there.
src/Scripting/NasalSys.cxx