Files
esphome/esphome/components/socket
J. Nick Koston fe89d7c701 [socket] Free rx_buf_ in LWIPRawImpl destructor
The destructor relies solely on tcp_abort() for cleanup, but LWIP
considers ownership of pbufs transferred once the recv callback
accepts them. If rx_buf_ is non-null when the socket is destroyed,
those pbufs are leaked. Free them explicitly before the base class
destructor calls tcp_abort().
2026-03-01 07:41:38 -10:00
..