From 70c9bf0392ac4695af0b58d046fc0cc81dbafeeb Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 9 Nov 2017 12:32:56 +0100 Subject: [PATCH] posix: fix compile error in tlv implemenation --- platform/posix/btstack_tlv_posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/posix/btstack_tlv_posix.c b/platform/posix/btstack_tlv_posix.c index aac8f8d55..120d706e9 100644 --- a/platform/posix/btstack_tlv_posix.c +++ b/platform/posix/btstack_tlv_posix.c @@ -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; } }