summaryrefslogtreecommitdiff
path: root/cmd/eeboxmltohocr
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/eeboxmltohocr')
-rw-r--r--cmd/eeboxmltohocr/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/eeboxmltohocr/main.go b/cmd/eeboxmltohocr/main.go
index 867717f..25c4204 100644
--- a/cmd/eeboxmltohocr/main.go
+++ b/cmd/eeboxmltohocr/main.go
@@ -111,6 +111,7 @@ func main() {
if err != nil {
log.Fatalf("Could not write file %s: %v\n", fn, err)
}
+ f.Close() // do this explicitly so we don't end up with too many open simultaneously
}
}