[pkg-fgfs-crew] r148 - in /simgear/trunk: debian/changelog simgear/scene/model/particles.hxx

ovek at users.alioth.debian.org ovek at users.alioth.debian.org
Sun Jul 31 20:52:45 UTC 2011


Author: ovek
Date: Sun Jul 31 20:52:44 2011
New Revision: 148

URL: http://svn.debian.org/wsvn/pkg-fgfs/?sc=1&rev=148
Log:
Quickfix for subtle memory management bug in SimGear.

Modified:
    simgear/trunk/debian/changelog
    simgear/trunk/simgear/scene/model/particles.hxx

Modified: simgear/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-fgfs/simgear/trunk/debian/changelog?rev=148&op=diff
==============================================================================
--- simgear/trunk/debian/changelog (original)
+++ simgear/trunk/debian/changelog Sun Jul 31 20:52:44 2011
@@ -1,3 +1,12 @@
+simgear (2.0.0-4) unstable; urgency=low
+
+  * Quickfix for subtle memory management bug in SimGear, apparently
+    not discovered or fixed upstream yet. But it seems to me this
+    thing must almost have been working by pure luck all this time...
+    Closes: #636121.
+
+ -- Ove Kaaven <ovek at arcticnet.no>  Sun, 31 Jul 2011 22:43:05 +0200
+
 simgear (2.0.0-3) unstable; urgency=low
 
   * Backported a bunch of upstream commits (from their git tree)

Modified: simgear/trunk/simgear/scene/model/particles.hxx
URL: http://svn.debian.org/wsvn/pkg-fgfs/simgear/trunk/simgear/scene/model/particles.hxx?rev=148&op=diff
==============================================================================
--- simgear/trunk/simgear/scene/model/particles.hxx (original)
+++ simgear/trunk/simgear/scene/model/particles.hxx Sun Jul 31 20:52:44 2011
@@ -99,7 +99,7 @@
 private:
     static osg::Vec3 gravity;
     static osg::Vec3 wind;
-    const SGPropertyNode* modelRoot;
+    SGSharedPtr<const SGPropertyNode> modelRoot;
     static SGConstPropertyNode_ptr enabledNode;
     static bool enabled;
 };




More information about the pkg-fgfs-crew mailing list