mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
Fixes bug where the att_db would not be updated if realloc returnes a new chunk of memory.
This commit is contained in:
parent
bb44f0f585
commit
658d4117be
@ -96,6 +96,7 @@ static int att_db_util_assert_space(uint16_t size){
|
||||
}
|
||||
att_db = new_db;
|
||||
att_db_max_size = new_size;
|
||||
att_set_db(att_db); // Update att_db with the new db
|
||||
return 1;
|
||||
#else
|
||||
log_error("att_db: out of memory");
|
||||
|
Loading…
x
Reference in New Issue
Block a user