Merge branch 'develop' into feature/ECC-1137-bufr-fixed-length

This commit is contained in:
Shahram Najm 2020-07-25 15:07:31 +01:00
commit 91768957bf
2 changed files with 4 additions and 0 deletions

View File

@ -248,6 +248,7 @@ void grib_push_accessor(grib_accessor* a, grib_block_of_accessors* l)
l->last = a;
if (hand->use_trie) {
DebugAssert( a->all_names[0] );
if (*(a->all_names[0]) != '_') {
id = grib_hash_keys_get_id(a->context->keys, a->all_names[0]);

View File

@ -2641,6 +2641,9 @@ static int create_keys(grib_accessor* a, long onlySubset, long startSubset, long
err = GRIB_DECODING_ERROR;
return err;
}
if (elementAccessor->name == NULL) {
return GRIB_DECODING_ERROR;
}
/*if (associatedFieldAccessor) grib_accessor_delete(c, associatedFieldAccessor);*/
associatedFieldAccessor = NULL;