1
0
Fork 0

fix resource leak - close gzfile after polygons read

This commit is contained in:
Peter Sadrozinski 2012-12-19 19:36:43 -05:00
parent 9f34a0c036
commit cb6ef16f5a

View file

@ -108,6 +108,7 @@ int TGConstruct::LoadLandclassPolys( void ) {
} }
} }
gzclose( fp );
SG_LOG(SG_GENERAL, SG_DEBUG, " Loaded " << p.file()); SG_LOG(SG_GENERAL, SG_DEBUG, " Loaded " << p.file());
} }
} // of directory file children } // of directory file children