Fieldset: Fix memory leaks

This commit is contained in:
Shahram Najm 2020-02-06 16:53:49 +00:00
parent 5a3a820492
commit 8153622873
1 changed files with 1 additions and 0 deletions

View File

@ -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,