posix: fix compile error in tlv implemenation

This commit is contained in:
Matthias Ringwald 2017-11-09 12:32:56 +01:00
parent 744e54704d
commit 70c9bf0392

View File

@ -198,7 +198,7 @@ static int btstack_tlv_posix_read_db(btstack_tlv_posix_t * self){
btstack_linked_list_add(&self->entry_list, (btstack_linked_item_t *) new_entry);
} else {
// fail
free(entry);
free(new_entry);
break;
}
}