Close dir when we've finished scanning

This commit is contained in:
Daniel Tipping 2019-01-10 17:45:17 +00:00
parent 47d7085bc4
commit 6c2e3db271
1 changed files with 1 additions and 0 deletions

View File

@ -532,6 +532,7 @@ static int scan(grib_context* c,grib_runtime_options* options,const char* dir)
process(c,options,buf);
}
}
closedir(d);
return 0;
}
#else