aboutsummaryrefslogtreecommitdiffstats
path: root/gui.c
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-26 13:58:41 +0200
committerTectu <joel@unormal.org>2012-06-26 13:58:41 +0200
commit9ae31c538923bfee4631547735c8ca6d9d8a05a7 (patch)
tree2b0354d4698451f38da47edcaf267d5877da6be1 /gui.c
parent6743cde23dc39204f972af24cde93806630bfaa2 (diff)
downloaduGFX-9ae31c538923bfee4631547735c8ca6d9d8a05a7.tar.gz
uGFX-9ae31c538923bfee4631547735c8ca6d9d8a05a7.tar.bz2
uGFX-9ae31c538923bfee4631547735c8ca6d9d8a05a7.zip
free memory
Diffstat (limited to 'gui.c')
-rw-r--r--gui.c2
1 files changed, 2 insertions, 0 deletions
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;
}