César de Tassis Filho 37da78919a Fix memory leaks by adding missing free() calls before early returns in MQTT::onReceive (#5439)
This fix addresses memory leaks in the `MQTT::onReceive` function by ensuring that dynamically allocated resources (`e.channel_id`, `e.gateway_id` and `e.packet`) are properly freed before each early return. Previously, these resources were only freed at the end of the function, leaving them unhandled in certain exit paths. Adding the missing `free()` calls prevents memory leaks and ensures proper resource cleanup in all scenarios.
2024-11-25 12:05:06 +08:00
2024-09-25 16:18:45 -05:00
2024-11-16 19:36:55 -06:00
2024-11-12 06:12:09 -06:00
2024-11-23 18:06:31 +08:00
2021-10-09 17:15:12 +11:00
2024-09-24 15:24:08 -05:00
2023-01-21 21:23:24 +01:00
2024-09-01 11:29:34 -05:00
2024-09-04 15:33:28 -07:00
2023-01-21 21:23:24 +01:00
2023-10-09 22:30:02 +10:00
2024-09-25 16:18:45 -05:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt

Languages
C++ 67.2%
C 30.9%
Python 1.1%
Shell 0.3%
Batchfile 0.3%
Other 0.1%