From 83c0589c061064cafad89bd63a061ac7de2f53c3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 20 Jul 2025 09:22:17 -1000 Subject: [PATCH] Update esphome/components/api/api_frame_helper.h Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/components/api/api_frame_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/api/api_frame_helper.h b/esphome/components/api/api_frame_helper.h index 3bc8700699..ed764ea861 100644 --- a/esphome/components/api/api_frame_helper.h +++ b/esphome/components/api/api_frame_helper.h @@ -168,6 +168,7 @@ class APIFrameHelper { std::vector rx_buf_; // Pointer to client info (4 bytes on 32-bit) + // Note: The pointed-to ClientInfo object must outlive this APIFrameHelper instance. const ClientInfo *client_info_{nullptr}; // Group smaller types together