diff options
author | Nick White <git@njw.name> | 2021-02-02 13:30:05 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-02-02 13:30:05 +0000 |
commit | 89866846f395115dd7ab576077067783b8119e66 (patch) | |
tree | 1a8eb92da4f12cf7aaf0614495ca52c128863e4f /cmd/eeboxmltohocr | |
parent | f10a7d78422c3baab1d7a9b128f69485bae2cd78 (diff) |
[eeboxmltohocr] Fix bug causing error if there were many hocr files
Diffstat (limited to 'cmd/eeboxmltohocr')
-rw-r--r-- | cmd/eeboxmltohocr/main.go | 1 |
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 } } |