added error check for extraction of aligned llao

This commit is contained in:
Joakim Eriksson 2016-03-04 14:20:23 +01:00
parent e9e31e9fd1
commit 186138f6af
2 changed files with 14 additions and 25 deletions

View file

@ -195,9 +195,8 @@ remove_key(nbr_table_key_t *least_used_key)
used_map[index_from_key(least_used_key)] = 0;
/* Remove neighbor from list */
list_remove(nbr_table_keys, least_used_key);
/* Return associated key */
}
/*---------------------------------------------------------------------------*/
static nbr_table_key_t *
nbr_table_allocate(nbr_table_reason_t reason, void *data)
{