]> git.mxchange.org Git - flightgear.git/commit
Fix refcounting bug in f_removeChild(). Use a smart pointer to handle
authorandy <andy>
Mon, 3 Nov 2008 23:50:33 +0000 (23:50 +0000)
committerandy <andy>
Mon, 3 Nov 2008 23:50:33 +0000 (23:50 +0000)
commit78d3763b41641d7e959c5701cba7bfbbfd04e766
treeac90b15b2cff370b4fe7905e88bd64568bbda9e1
parent0fbf965b398083913567f55368d9e4cc3cce6f80
Fix refcounting bug in f_removeChild().  Use a smart pointer to handle
the case where the removed child has no other referants, otherwise it
will be deleted on function exit.  Also give the ghost type a name for
cleaner debugging.
src/Scripting/nasal-props.cxx