Properly close our database file ...
This commit is contained in:
parent
c3e3e9f5d7
commit
c78827569a
2 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ bool FGRunways::next( FGRunway* r ) {
|
|||
|
||||
// Destructor
|
||||
FGRunways::~FGRunways( void ) {
|
||||
// gdbm_close( dbf );
|
||||
delete storage;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ FGAirports::search( const string& id ) const
|
|||
|
||||
// Destructor
|
||||
FGAirports::~FGAirports( void ) {
|
||||
// gdbm_close( dbf );
|
||||
delete storage;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue