From 8153622873079fbc637de282fa57587cfca16a7a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 6 Feb 2020 16:53:49 +0000 Subject: [PATCH] Fieldset: Fix memory leaks --- src/grib_fieldset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grib_fieldset.c b/src/grib_fieldset.c index 224e85e14..9243fc353 100644 --- a/src/grib_fieldset.c +++ b/src/grib_fieldset.c @@ -142,6 +142,7 @@ static void grib_fieldset_delete_columns(grib_fieldset* set) case GRIB_TYPE_STRING: for (j = 0; j < set->columns[i].size; j++) grib_context_free(c, set->columns[i].string_values[j]); + grib_context_free(c, set->columns[i].string_values); break; default: grib_context_log(c, GRIB_LOG_ERROR,