1
0
Fork 0

Attempt to fix a segfault on exit, although I don't think this quite

does it.  We'll have to dig deeper.
This commit is contained in:
curt 2001-07-11 15:50:18 +00:00
parent 1e474b4773
commit bc4859c0fb

View file

@ -279,6 +279,7 @@ FGMaterialLib::~FGMaterialLib ( void ) {
FGNewMat *slot = it->second;
if ( slot != NULL ) {
delete slot;
it->second = NULL;
}
}
}