mirror of https://github.com/ecmwf/eccodes.git
Merge branch 'develop' into bugfix/ecc-1898_clean_cache_when_unalias_is_called
This commit is contained in:
commit
be61e70863
|
@ -2845,6 +2845,7 @@ int grib_accessor_bufr_data_array_t::process_elements(int flag, long onlySubset,
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (elementsDescriptorsIndex_ == NULL) {
|
if (elementsDescriptorsIndex_ == NULL) {
|
||||||
|
grib_buffer_delete(c, buffer);
|
||||||
return GRIB_ENCODING_ERROR; /* See ECC-359 */
|
return GRIB_ENCODING_ERROR; /* See ECC-359 */
|
||||||
}
|
}
|
||||||
elementsDescriptorsIndex = elementsDescriptorsIndex_->v[iss];
|
elementsDescriptorsIndex = elementsDescriptorsIndex_->v[iss];
|
||||||
|
|
Loading…
Reference in New Issue