Files
firmware/src
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-11-04 19:15:59 -06:00
2024-11-23 06:10:09 -06:00
2024-11-04 19:15:59 -06:00
2024-11-04 19:15:59 -06:00
2024-11-22 14:25:09 -06:00
2024-11-04 06:09:23 -06:00
2024-11-04 06:09:23 -06:00
2024-11-04 19:15:59 -06:00