mirror of https://github.com/ecmwf/eccodes.git
ECC-1172: Memory leaks in encoding BUFR (part 1)
This commit is contained in:
parent
b60e717c59
commit
32a74fa998
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue