hocr_page_iterator and a few other functions should close their fp
At least if fd_or_path
is a path/string, and not a fd, we should close it after our yielding loop.
(Reported by Drini Cami)
At least if fd_or_path
is a path/string, and not a fd, we should close it after our yielding loop.
(Reported by Drini Cami)