1
0
Fork 0

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:
frohlich 2009-06-07 11:23:54 +00:00 committed by Tim Moore
parent a1c8c2c8af
commit ee9dc0c93a

View 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()