]> git.mxchange.org Git - simgear.git/commitdiff
close zone.tab file after having read all entries
authormfranz <mfranz>
Tue, 14 Mar 2006 12:58:28 +0000 (12:58 +0000)
committermfranz <mfranz>
Tue, 14 Mar 2006 12:58:28 +0000 (12:58 +0000)
simgear/timing/timezone.cxx

index 60ef96de95c3f98e95bc36638435476fcb9342b6..f052032a25e1d15c4e8d91bebb2c15fad58940e1 100644 (file)
@@ -151,6 +151,7 @@ SGTimeZoneContainer::SGTimeZoneContainer(const char *filename)
             errno = 0;
         }
     }
+    fclose(infile);
 }
 
 SGTimeZoneContainer::~SGTimeZoneContainer()