1
0
Fork 0

Just being a tad more careful with setting the ptr to NULL after deleting

it.
This commit is contained in:
curt 2001-07-13 05:11:46 +00:00
parent 0fa4b9a154
commit 0ff9311948

View file

@ -120,9 +120,11 @@ FGJSBsim::FGJSBsim( double dt )
/******************************************************************************/
FGJSBsim::~FGJSBsim(void) {
if(fdmex != NULL) {
if ( fdmex != NULL ) {
delete fdmex;
fdmex = NULL;
delete fgic;
fgic = NULL;
}
}