diff --git a/src/BuildTiles/Main/tgconstruct_poly.cxx b/src/BuildTiles/Main/tgconstruct_poly.cxx index 967a373a..808c1473 100644 --- a/src/BuildTiles/Main/tgconstruct_poly.cxx +++ b/src/BuildTiles/Main/tgconstruct_poly.cxx @@ -108,6 +108,7 @@ int TGConstruct::LoadLandclassPolys( void ) { } } + gzclose( fp ); SG_LOG(SG_GENERAL, SG_DEBUG, " Loaded " << p.file()); } } // of directory file children