meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
2.99k stars 715 forks source link

Fix memory leak when there's no display #3972

Closed mskvortsov closed 1 month ago

mskvortsov commented 1 month ago

The string does never get freed when useDisplay is false. https://github.com/meshtastic/firmware/blob/2233507667c6030cc86d9e66a3746b2ed828d8ba/src/graphics/Screen.h#L228-L231