mirror of https://github.com/ecmwf/eccodes.git
Memory leak
This commit is contained in:
parent
c22264f19d
commit
4f5511599e
|
@ -980,6 +980,7 @@ grib_index* grib_index_read(grib_context* c, const char* filename, int* err)
|
||||||
index->count = index_count;
|
index->count = index_count;
|
||||||
|
|
||||||
fclose(fh);
|
fclose(fh);
|
||||||
|
grib_context_free(c, files);
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue