Diff between 6988399496643df2bcb122e08d2fae986ce580ed and 8b2a8c9257fb62badeed2dc76caca178737f77d6
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +1 | -0 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index f2ac482..bc774af 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -4478,6 +4478,7 @@ static uint8_t read_by_group_type(const uint8_t *cmd, uint16_t cmd_len,
if (!queue_push_tail(device->pending_requests, entry)) {
queue_remove_all(device->pending_requests, NULL, NULL,
destroy_pending_request);
+ free(entry);
queue_destroy(q, NULL);
return ATT_ECODE_UNLIKELY;
}