1
0
Fork 0

Modified Files:

Navaids/navdb.cxx: Olaf Flebbe: plug memory leak.
This commit is contained in:
frohlich 2007-02-09 05:35:10 +00:00
parent 654cc64659
commit 4101e6791b

View file

@ -85,6 +85,7 @@ bool fgNavDBInit( FGAirportList *airports,
FGNavRecord *r = new FGNavRecord; FGNavRecord *r = new FGNavRecord;
in >> (*r); in >> (*r);
if ( r->get_type() > 95 ) { if ( r->get_type() > 95 ) {
delete r;
break; break;
} }