summaryrefslogtreecommitdiff
path: root/tools/showtext
diff options
context:
space:
mode:
Diffstat (limited to 'tools/showtext')
-rw-r--r--tools/showtext/Makefile2
-rw-r--r--tools/showtext/showtext.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/showtext/Makefile b/tools/showtext/Makefile
index 62196aa..516f966 100644
--- a/tools/showtext/Makefile
+++ b/tools/showtext/Makefile
@@ -18,7 +18,7 @@ all: $(PRGNAME)
# Implicit rules:
%.o: %.c
- $(CXX) $(CXXEXTRA) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
+ $(CXX) $(CXXEXTRA) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
# Dependencies:
diff --git a/tools/showtext/showtext.c b/tools/showtext/showtext.c
index bc7879c..00e6893 100644
--- a/tools/showtext/showtext.c
+++ b/tools/showtext/showtext.c
@@ -277,6 +277,7 @@ int main(int argc, char *argv[])
lcd->DeInit();
delete lcd;
+ delete bitmap;
return 0;
}