summaryrefslogtreecommitdiff
path: root/modules/text_server_fb/text_server_fb.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-11-12 09:30:34 -0600
committerAaron Franke <arnfranke@yahoo.com>2021-11-12 09:30:50 -0600
commitae713f8980c734211ab72fb9bc266d108da3c58d (patch)
treefd6f3a2ac8cb429aa515cfdcc6ecf7bd0c1bf459 /modules/text_server_fb/text_server_fb.cpp
parent57ae154e864befec34c286cab8f3303d17b55912 (diff)
Add a minimal template build to CI
Co-authored-by: RĂ©mi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'modules/text_server_fb/text_server_fb.cpp')
-rw-r--r--modules/text_server_fb/text_server_fb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/text_server_fb/text_server_fb.cpp b/modules/text_server_fb/text_server_fb.cpp
index 0728812ecb..80ae10c005 100644
--- a/modules/text_server_fb/text_server_fb.cpp
+++ b/modules/text_server_fb/text_server_fb.cpp
@@ -3267,7 +3267,9 @@ TextServerFallback::TextServerFallback() {
};
TextServerFallback::~TextServerFallback() {
+#ifdef MODULE_FREETYPE_ENABLED
if (library != nullptr) {
FT_Done_FreeType(library);
}
+#endif
};