Files
meshtastic_firmware/src
César de Tassis FilhoandGitHub 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
2023-07-14 16:25:20 -05:00
2024-11-04 19:15:59 -06:00
2024-11-22 14:25:09 -06:00
2024-08-13 18:43:19 -05:00
2024-11-04 06:09:23 -06:00
2024-11-04 06:09:23 -06:00
2024-08-06 12:35:54 -05:00
2024-08-06 12:35:54 -05:00
2024-09-25 06:25:31 -05:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2024-09-26 00:20:00 +02:00
2024-08-06 12:35:54 -05:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2024-11-04 19:15:59 -06:00