Message ID | 20240627150917.85755-1-r.smirnov@omp.ru |
---|---|
State | New |
Headers | show |
Series | [BlueZ,v1] gatt-server: fix memory leak in bt_gatt_server_send_notification() | expand |
diff --git a/src/shared/gatt-server.c b/src/shared/gatt-server.c index 0e399ceb1..fb8819c70 100644 --- a/src/shared/gatt-server.c +++ b/src/shared/gatt-server.c @@ -1822,6 +1822,7 @@ bool bt_gatt_server_send_notification(struct bt_gatt_server *server, return result; error: + free(data->pdu); if (data) free(data);