mirror of https://github.com/ecmwf/eccodes.git
ECC-1950: codes_context_delete() does not free all cached data
This commit is contained in:
parent
bafbb1b300
commit
879f5b0aea
|
@ -865,7 +865,7 @@ void grib_context_delete(grib_context* c)
|
||||||
c->hash_array_count = 0;
|
c->hash_array_count = 0;
|
||||||
grib_itrie_delete(c->hash_array_index);
|
grib_itrie_delete(c->hash_array_index);
|
||||||
c->hash_array_index=0;
|
c->hash_array_index=0;
|
||||||
grib_trie_delete(c->expanded_descriptors);
|
grib_trie_delete_container(c->expanded_descriptors);
|
||||||
c->expanded_descriptors=0;
|
c->expanded_descriptors=0;
|
||||||
|
|
||||||
c->inited = 0;
|
c->inited = 0;
|
||||||
|
|
Loading…
Reference in New Issue