]> git.mxchange.org Git - flightgear.git/commit
Fix another (tiny) memory leak.
authorThorstenB <brehmt@gmail.com>
Mon, 7 Mar 2011 18:34:52 +0000 (19:34 +0100)
committerThorstenB <brehmt@gmail.com>
Mon, 7 Mar 2011 18:38:48 +0000 (19:38 +0100)
commit4761a3cdcf04771819b3a8de9d018fca20c90ca6
tree367fc07a4268b442884be2ef242e41f12c6a0fa0
parentae8438333cc20e8655b604c4f254bee6afda1785
Fix another (tiny) memory leak.
SGCloudField::addCloud does *not* keep a reference to SGNewCloud - so we
only need a temporary object. Also adapt to changed addCloud interface
to make things a little more obvious.
src/Environment/fgclouds.cxx