mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 01:15:33 +00:00
df3a36376d
RAMAllocator is stateless when using default flags — it's just a dispatch wrapper over heap_caps_malloc/realloc/free. There's no need to store it as a class member. Use stack-local instances at each call site instead, matching the pattern used in audio_transfer_buffer and ring_buffer. Co-Authored-By: J. Nick Koston <nick@koston.org>