Files
firmware/src/modules
Ben Meadors f7fd058308 Fix packet-pool slot leak in canned message destination picker (#11017)
updateDestinationSelectionList() allocated a MeshPacket via
allocDataPacket() that was never sent or released, permanently
consuming one packetPool slot every time the destination-selection
picker was rebuilt.

On non-PSRAM targets packetPool is a static 70-slot BSS pool, so
repeated picker use exhausts it and eventually blocks all packet
allocation (TX/RX failures). On PSRAM/portduino (MemoryDynamic)
targets it is a true heap leak of ~424B per rebuild.

The allocation and its two field writes (pki_encrypted, channel) were
a copy/paste artifact of the PKI setup in sendText() and had no effect
in this function. Remove the dead allocation.
2026-07-16 08:22:42 -05:00
..
2026-07-01 19:01:27 -05:00
2026-03-06 05:34:41 -06:00
2026-07-01 19:01:27 -05:00
2026-07-01 19:01:27 -05:00
2026-07-01 19:01:27 -05:00
2022-02-27 02:21:02 -08:00
2026-06-27 08:20:51 -05:00
2022-02-27 01:49:24 -08:00
2026-06-30 12:44:25 -05:00
2026-07-01 19:01:27 -05:00
2026-06-30 12:44:25 -05:00
2026-07-01 19:01:27 -05:00
2026-02-19 07:16:33 -06:00
2026-06-30 12:44:25 -05:00
2026-07-01 19:01:27 -05:00
2026-06-30 12:44:25 -05:00
2026-02-19 07:16:33 -06:00