Diff between 743e508b42c471bb4ec6f0071d53f04da5f20276 and e75426d2f14de73796ebfc83ba14a49edd8736df
Changed Files
| File | Additions | Deletions | Status |
| src/shared/gatt-db.c | +2 | -0 | modified |
Full Patch
diff --git a/src/shared/gatt-db.c b/src/shared/gatt-db.c
index 9a9cadc..13aa5e4 100644
--- a/src/shared/gatt-db.c
+++ b/src/shared/gatt-db.c
@@ -880,6 +880,8 @@ void gatt_db_find_by_type(struct gatt_db *db, uint16_t start_handle,
{
struct find_by_type_value_data data;
+ memset(&data, 0, sizeof(data));
+
data.uuid = *type;
data.start_handle = start_handle;
data.end_handle = end_handle;