Skip to content

Commit

Permalink
ECC-1950: codes_context_delete() does not free all cached data
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Oct 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent bafbb1b commit 879f5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grib_context.cc
Original file line number Diff line number Diff line change
@@ -865,7 +865,7 @@ void grib_context_delete(grib_context* c)
c->hash_array_count = 0;
grib_itrie_delete(c->hash_array_index);
c->hash_array_index=0;
grib_trie_delete(c->expanded_descriptors);
grib_trie_delete_container(c->expanded_descriptors);
c->expanded_descriptors=0;

c->inited = 0;

0 comments on commit 879f5b0

Please sign in to comment.