diff --git a/gui.c b/gui.c index 895eb3dd..45a9d686 100644 --- a/gui.c +++ b/gui.c @@ -130,6 +130,8 @@ uint8_t guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, char * lcdDrawRectString(x0, y0, x1, y1, str, fontColor, buttonColor); + chHeapFree(newNode); + return 1; }