1
0
Fork 0

We check if the ptr is NULL before deleting it, so set it to NULL after

deleting it.
This commit is contained in:
curt 2001-07-13 05:12:30 +00:00
parent 0ff9311948
commit e4044e469f

View file

@ -80,6 +80,7 @@ FGLaRCsim::FGLaRCsim( double dt ) {
FGLaRCsim::~FGLaRCsim(void) {
if ( lsic != NULL ) {
delete lsic;
lsic = NULL;
}
}