mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-10 07:02:11 +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;
|
||||
}
|
||||
|
||||
// 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)
|
||||
{
|
||||
uint8_t b;
|
||||
|
@ -73,7 +73,7 @@ class GPS : private concurrency::OSThread
|
||||
// Store pointers to transformers for cleanup
|
||||
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;
|
||||
GpioNotTransformer *gpioNotTransformer = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user