From f96f083bb53ebec020fc74b6e607392e1b552678 Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 14 Mar 2006 12:58:28 +0000 Subject: [PATCH] close zone.tab file after having read all entries --- simgear/timing/timezone.cxx | 1 + 1 file changed, 1 insertion(+) 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() -- 2.39.5