Diff between 1a053b132af331e0b48434ac6a80e853b5b45e1a and 0d3d74618e8fc25cc0522aaecb10afef5ea7e4af

Changed Files

File Additions Deletions Status
src/shared/gatt-client.c +1 -1 modified

Full Patch

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index a966dd0..cc972d6 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -2139,7 +2139,7 @@ unsigned int bt_gatt_client_write_without_response(
 	req->att_id = bt_att_send(client->att,
 				signed_write ?  BT_ATT_OP_SIGNED_WRITE_CMD :
 				BT_ATT_OP_WRITE_CMD, pdu, sizeof(pdu),
-				NULL, NULL, NULL);
+				NULL, req, request_unref);
 	if (!req->att_id) {
 		request_unref(req);
 		return 0;