mirror of https://github.com/ecmwf/eccodes.git
Close dir when we've finished scanning
This commit is contained in:
parent
47d7085bc4
commit
6c2e3db271
|
@ -532,6 +532,7 @@ static int scan(grib_context* c,grib_runtime_options* options,const char* dir)
|
||||||
process(c,options,buf);
|
process(c,options,buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
closedir(d);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue