mirror of https://github.com/ecmwf/eccodes.git
Windows: close dir when we've finished scanning
This commit is contained in:
parent
6e97dc6858
commit
47d7085bc4
|
@ -549,6 +549,8 @@ static int scan(grib_context* c,grib_runtime_options* options,const char* dir) {
|
|||
process(c, options, buf);
|
||||
}
|
||||
} while(!_findnext(handle, &fileinfo));
|
||||
|
||||
_findclose(handle);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue