Memory leak in GTS headers

This commit is contained in:
Shahram Najm 2020-03-29 19:53:10 +01:00
parent 06aa37b701
commit 8a307f2b95
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ int grib_handle_delete(grib_handle* h)
grib_buffer_delete(ct, h->buffer);
grib_section_delete(ct, h->root);
grib_context_free(ct, h->gts_header);
grib_context_log(ct, GRIB_LOG_DEBUG, "grib_handle_delete: deleting handle %p", h);
grib_context_free(ct, h);