From: mfranz Date: Tue, 14 Mar 2006 12:58:28 +0000 (+0000) Subject: close zone.tab file after having read all entries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f96f083bb53ebec020fc74b6e607392e1b552678;p=simgear.git close zone.tab file after having read all entries --- diff --git a/simgear/timing/timezone.cxx b/simgear/timing/timezone.cxx index 60ef96de..f052032a 100644 --- a/simgear/timing/timezone.cxx +++ b/simgear/timing/timezone.cxx @@ -151,6 +151,7 @@ SGTimeZoneContainer::SGTimeZoneContainer(const char *filename) errno = 0; } } + fclose(infile); } SGTimeZoneContainer::~SGTimeZoneContainer()