free memory
This commit is contained in:
parent
6743cde23d
commit
9ae31c5389
1 changed files with 2 additions and 0 deletions
2
gui.c
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue