mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-13 08:32:08 +00:00
Yup
This commit is contained in:
parent
67d481940b
commit
35a5c29a98
@ -319,7 +319,6 @@ GPS_RESPONSE GPS::getACKCas(uint8_t class_id, uint8_t msg_id, uint32_t waitMilli
|
|||||||
return GNSS_RESPONSE_NONE;
|
return GNSS_RESPONSE_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix memory leak in getACK where buffer is allocated but not properly managed
|
|
||||||
GPS_RESPONSE GPS::getACK(uint8_t class_id, uint8_t msg_id, uint32_t waitMillis)
|
GPS_RESPONSE GPS::getACK(uint8_t class_id, uint8_t msg_id, uint32_t waitMillis)
|
||||||
{
|
{
|
||||||
uint8_t b;
|
uint8_t b;
|
||||||
|
@ -73,7 +73,7 @@ class GPS : private concurrency::OSThread
|
|||||||
// Store pointers to transformers for cleanup
|
// Store pointers to transformers for cleanup
|
||||||
GpioTransformer *pinTransformer = NULL;
|
GpioTransformer *pinTransformer = NULL;
|
||||||
|
|
||||||
// Added pointers to manage GPIO transformers to fix memory leak
|
// Add pointers to manage GPIO transformers to prevent memory leak
|
||||||
GpioUnaryTransformer *gpioUnaryTransformer = NULL;
|
GpioUnaryTransformer *gpioUnaryTransformer = NULL;
|
||||||
GpioNotTransformer *gpioNotTransformer = NULL;
|
GpioNotTransformer *gpioNotTransformer = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user