ECC-1172: Memory leaks in encoding BUFR (part 1)

This commit is contained in:
Shahram Najm 2020-12-07 17:33:52 +00:00
parent b60e717c59
commit 32a74fa998
1 changed files with 1 additions and 0 deletions

View File

@ -1354,6 +1354,7 @@ static int encode_new_element(grib_context* c, grib_accessor_bufr_data_array* se
}
else {
err = encode_string_value(c, buff, pos, bd, self, csval);
grib_context_free(c, csval);
}
}
else {