diff --git a/dict/dawg_cache.cpp b/dict/dawg_cache.cpp index 2a6c16c1fa..2d21b01809 100644 --- a/dict/dawg_cache.cpp +++ b/dict/dawg_cache.cpp @@ -61,7 +61,7 @@ Dawg *DawgLoader::Load() { return NULL; } if (!data_loader.SeekToStart(tessdata_dawg_type_)) { - data_loader.End(); /// Must close the file + data_loader.End(); return NULL; } FILE *fp = data_loader.GetDataFilePtr();