diff --git a/src/ftermlinux.cpp b/src/ftermlinux.cpp index a15595bc..2787a822 100644 --- a/src/ftermlinux.cpp +++ b/src/ftermlinux.cpp @@ -64,11 +64,13 @@ FTermLinux::FTermLinux() //---------------------------------------------------------------------- FTermLinux::~FTermLinux() // destructor { +#if defined(__linux__) if ( screen_font.data ) delete[] screen_font.data; if ( screen_unicode_map.entries ) delete[] screen_unicode_map.entries; +#endif } // public methods of FTermLinux