]> git.mxchange.org Git - flightgear.git/commitdiff
No need to zero the _props variable.
authorfrohlich <frohlich>
Sun, 7 Jun 2009 11:23:54 +0000 (11:23 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 11 Jun 2009 14:05:20 +0000 (16:05 +0200)
This reference is released by the SGSharedPtr destructor anyway.

Modified Files:
src/Scripting/NasalSys.cxx

src/Scripting/NasalSys.cxx

index 215f007015ae8b05bf3dad54182d6d047bcab6c3..b76d72215333a66ce8f21c3d4ae7a3ae928a0f53 100644 (file)
@@ -1127,7 +1127,6 @@ void FGNasalModelData::modelLoaded(const string& path, SGPropertyNode *prop,
     arg[1] = nasalSys->propNodeGhost(prop);
     nasalSys->createModule(_module.c_str(), path.c_str(), s, strlen(s),
                            _root, 2, arg);
-    _props = 0;
 }
 
 FGNasalModelData::~FGNasalModelData()