No need to zero the _props variable.
This reference is released by the SGSharedPtr destructor anyway. Modified Files: src/Scripting/NasalSys.cxx
This commit is contained in:
parent
a1c8c2c8af
commit
ee9dc0c93a
1 changed files with 0 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue